Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.001688/0.001688, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.001913/0.001913, allocations: 187.8 kB / 22.23 MB, free: 5.164 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.52/1.52, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.89 kB / 1.061 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.868/0.87, allocations: 160.8 MB / 1.218 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.003182/0.8732, allocations: 1.504 MB / 1.22 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.8747, allocations: 0.7436 MB / 1.221 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.8748, allocations: 0 / 1.221 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.8748, allocations: 5.844 kB / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.986e-05/0.8749, allocations: 19.84 kB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006179/0.8755, allocations: 123.5 kB / 1.221 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.8756, allocations: 83.05 kB / 1.221 GB, free: 1.785 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.8757, allocations: 8.969 kB / 1.221 GB, free: 1.781 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.428e-05/0.8758, allocations: 37.73 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/0.8759, allocations: 35.03 kB / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.8759, allocations: 6.594 kB / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.8762, allocations: 137.9 kB / 1.221 GB, free: 1.652 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.8762, allocations: 14.2 kB / 1.221 GB, free: 1.641 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.8763, allocations: 39.73 kB / 1.221 GB, free: 1.609 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.8765, allocations: 145.7 kB / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8765, allocations: 0 / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8765, allocations: 0 / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.8766, allocations: 0 / 1.221 GB, free: 1.52 MB / 0.92 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.0006991/0.8773, allocations: 428.1 kB / 1.222 GB, free: 1.078 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.8773, allocations: 9.469 kB / 1.222 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.8773, allocations: 8.484 kB / 1.222 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.8775, allocations: 176.7 kB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.8775, allocations: 6.5 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.8776, allocations: 7.672 kB / 1.222 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.8778, allocations: 72.59 kB / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.8778, allocations: 0 / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.8778, allocations: 1.156 kB / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.8778, allocations: 1.25 kB / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.8779, allocations: 36.38 kB / 1.222 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.8786, allocations: 321.6 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.8787, allocations: 42.12 kB / 1.222 GB, free: 428 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.8788, allocations: 30.56 kB / 1.222 GB, free: 408 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.8788, allocations: 9.094 kB / 1.222 GB, free: 400 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.879, allocations: 81.5 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.879, allocations: 0 / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004418/0.8795, allocations: 144.5 kB / 1.223 GB, free: 236 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.8795, allocations: 52.72 kB / 1.223 GB, free: 172 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.8796, allocations: 116.8 kB / 1.223 GB, free: 60 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.8797, allocations: 26.8 kB / 1.223 GB, free: 28 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.036e-05/0.8798, allocations: 99.39 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.8798, allocations: 18.14 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.8798, allocations: 30.48 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.88, allocations: 324.8 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-05/0.8801, allocations: 22.42 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.991e-05/0.8802, allocations: 48.31 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.8804, allocations: 78.08 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8804, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002557/0.8806, allocations: 109 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.8806, allocations: 5.562 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.8806, allocations: 1.031 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.8807, allocations: 0.8438 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.8808, allocations: 16.58 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.8808, allocations: 5.422 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.8808, allocations: 12.53 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.8809, allocations: 7.25 kB / 1.224 GB, free: 15.37 MB / 0.9356 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.0001097/0.881, allocations: 121.8 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.881, allocations: 11.81 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.881, allocations: 13.44 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.881, allocations: 5.125 kB / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.881, allocations: 0 / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.881, allocations: 0.9062 kB / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.8815, allocations: 395 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8815, allocations: 0 / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.8816, allocations: 3.281 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.8816, allocations: 5.047 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.8816, allocations: 1.125 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.8816, allocations: 0 / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.8816, allocations: 9 kB / 1.224 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.8819, allocations: 198 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.882, allocations: 86.33 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.882, allocations: 4.969 kB / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/0.8821, allocations: 6.906 kB / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.8821, allocations: 10.11 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.8821, allocations: 2.5 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.927e-05/0.8822, allocations: 96.61 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8822, allocations: 0 / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003298/0.8825, allocations: 39.67 kB / 1.224 GB, free: 14.45 MB / 0.9356 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.0004025/0.8829, allocations: 170.1 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.8832, allocations: 67 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8832, allocations: 4.938 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.8833, allocations: 33.94 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.8836, allocations: 10.92 kB / 1.225 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.884, allocations: 197.3 kB / 1.225 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.8844, allocations: 0.6918 MB / 1.226 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.866e-05/0.8844, allocations: 7.891 kB / 1.226 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.8844, allocations: 10.72 kB / 1.226 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.8844, allocations: 0 / 1.226 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of Templates: time 0.005121/0.8896, allocations: 1.487 MB / 1.227 GB, free: 12.62 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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: 8.946781527251005]