Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00212/0.00212, allocations: 196.4 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.728/1.728, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.905/2.905, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.88 kB / 1.109 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8015/0.8035, allocations: 168.7 MB / 1.274 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.00295/0.8065, allocations: 1.498 MB / 1.275 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.808, allocations: 0.7416 MB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.8081, allocations: 0 / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.8081, allocations: 3.938 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.8082, allocations: 19.86 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006102/0.8088, allocations: 119.6 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.8089, allocations: 79.7 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.809, allocations: 15.94 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.514e-05/0.8091, allocations: 35.91 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.297e-05/0.8092, allocations: 39.83 kB / 1.277 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.8092, allocations: 8 kB / 1.277 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.8094, allocations: 99.83 kB / 1.277 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.178e-05/0.8095, allocations: 19.97 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.8095, allocations: 31.8 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.8098, allocations: 150.2 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8098, allocations: 0 / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8098, allocations: 4 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.8098, allocations: 0 / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007355/0.8105, allocations: 412.8 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.8106, allocations: 12.03 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.8106, allocations: 8.891 kB / 1.277 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.8108, allocations: 180.2 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.8108, allocations: 4.375 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.8108, allocations: 8.375 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.811, allocations: 69.97 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.811, allocations: 0 / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.811, allocations: 0 / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.8111, allocations: 0 / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.8112, allocations: 35.97 kB / 1.278 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00066/0.8118, allocations: 324.7 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.812, allocations: 46.55 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.778e-05/0.8121, allocations: 32.97 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.8121, allocations: 0 / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002391/0.8123, allocations: 79.38 kB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.8123, allocations: 3.938 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004321/0.8128, allocations: 137.5 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.8128, allocations: 55.41 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.813, allocations: 137.6 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.813, allocations: 33.64 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.029e-05/0.8131, allocations: 88.14 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.8131, allocations: 19.97 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.8131, allocations: 25.66 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.8133, allocations: 326.8 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.8134, allocations: 27.98 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.8135, allocations: 46.55 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.8137, allocations: 74.5 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8137, allocations: 0 / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002633/0.8139, allocations: 113.5 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.814, allocations: 4 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.814, allocations: 0 / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.814, allocations: 4 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.8141, allocations: 19.98 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.8141, allocations: 0 / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.646e-05/0.8142, allocations: 4 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.8142, allocations: 7.984 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.8143, allocations: 125.7 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.8143, allocations: 7.953 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.8143, allocations: 4.375 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.8144, allocations: 4 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.8144, allocations: 7.938 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.8144, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.8149, allocations: 386.8 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.8149, allocations: 0 / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.8149, allocations: 7.984 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.8149, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.8149, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8149, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.8149, allocations: 7.938 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.8152, allocations: 215.5 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.8153, allocations: 85.06 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.8153, allocations: 0 / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.8154, allocations: 7.984 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.8154, allocations: 7.922 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.8155, allocations: 8 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.865e-05/0.8155, allocations: 95.27 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8155, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003174/0.8158, allocations: 39.92 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003753/0.8162, allocations: 157.4 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.8165, allocations: 79.88 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8165, allocations: 0 / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.8166, allocations: 27.98 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.8168, allocations: 11.94 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.8173, allocations: 200.7 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.8176, allocations: 0.6913 MB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.83e-05/0.8177, allocations: 7.984 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.8177, allocations: 11.44 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.8177, allocations: 0 / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of Templates: time 0.004552/0.8223, allocations: 1.483 MB / 1.283 GB, free: 11.37 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.17894051084295]