Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.002204/0.002204, allocations: 110 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.002242/0.002242, allocations: 188.8 kB / 22.23 MB, free: 5.16 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.539/1.539, allocations: 225.6 MB / 251 MB, free: 13.02 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.613/2.613, 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.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002643/0.002643, allocations: 63.89 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8754/0.8781, allocations: 160.8 MB / 1.218 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.00299/0.8811, allocations: 1.533 MB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.8826, allocations: 0.773 MB / 1.221 GB, free: 1.879 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.8827, allocations: 0.9688 kB / 1.221 GB, free: 1.879 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.776e-05/0.8827, allocations: 7.875 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.8828, allocations: 14.11 kB / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006744/0.8835, allocations: 148.7 kB / 1.221 GB, free: 1.75 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.8836, allocations: 110 kB / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.8838, allocations: 12.89 kB / 1.221 GB, free: 1.68 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.8839, allocations: 43.06 kB / 1.221 GB, free: 1.656 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.884, allocations: 59.33 kB / 1.221 GB, free: 1.613 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.884, allocations: 9.938 kB / 1.221 GB, free: 1.613 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.8843, allocations: 135.4 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.8843, allocations: 27.88 kB / 1.221 GB, free: 1.512 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.685e-05/0.8844, allocations: 41.47 kB / 1.221 GB, free: 1.48 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.8847, allocations: 161.8 kB / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.8847, allocations: 4 kB / 1.221 GB, free: 1.375 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8847, allocations: 0 / 1.221 GB, free: 1.375 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8847, allocations: 1.094 kB / 1.221 GB, free: 1.375 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008056/0.8855, allocations: 466.2 kB / 1.222 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.8856, allocations: 9.469 kB / 1.222 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.8856, allocations: 9.078 kB / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.8858, allocations: 173.4 kB / 1.222 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.8858, allocations: 2.5 kB / 1.222 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.8858, allocations: 9.438 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.8861, allocations: 89.47 kB / 1.222 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.8861, allocations: 5.031 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.8861, allocations: 0 / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.8861, allocations: 5.078 kB / 1.222 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.8863, allocations: 53.42 kB / 1.222 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008316/0.8872, allocations: 341.2 kB / 1.223 GB, free: 240 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.8873, allocations: 58.83 kB / 1.223 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.8875, allocations: 38.11 kB / 1.223 GB, free: 168 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.8875, allocations: 1.156 kB / 1.223 GB, free: 168 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.8877, allocations: 95.02 kB / 1.223 GB, free: 84 kB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.8878, allocations: 1.062 kB / 1.223 GB, free: 84 kB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0005645/0.8883, allocations: 181.5 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.8884, allocations: 61.61 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.8885, allocations: 126.8 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.8885, allocations: 31.8 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.8886, allocations: 106.3 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.8886, allocations: 15.25 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.8887, allocations: 32.02 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.8888, allocations: 324 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.8889, allocations: 24.92 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.889, allocations: 72.3 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.8892, allocations: 91.36 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8892, allocations: 1.188 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002723/0.8895, allocations: 132.5 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.8895, allocations: 5.344 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.8895, allocations: 1.844 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.8895, allocations: 2.344 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.8896, allocations: 13.42 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.8896, allocations: 6.125 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.737e-05/0.8897, allocations: 20.25 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.8897, allocations: 4.188 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001126/0.8899, allocations: 128 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.8899, allocations: 7.203 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.8899, allocations: 18.58 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8899, allocations: 1.156 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8899, allocations: 0 / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.8899, allocations: 0.9375 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.8906, allocations: 428.9 kB / 1.224 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8906, allocations: 0.75 kB / 1.224 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.8906, allocations: 3.688 kB / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8906, allocations: 3.938 kB / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.8906, allocations: 6.141 kB / 1.225 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.8906, allocations: 0 / 1.225 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.8906, allocations: 5.031 kB / 1.225 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.891, allocations: 245 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.8911, allocations: 83.59 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.8911, allocations: 5.312 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.8912, allocations: 8.047 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.8913, allocations: 10.11 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.8913, allocations: 3.688 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.941e-05/0.8914, allocations: 99.86 kB / 1.225 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8914, allocations: 0 / 1.225 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003727/0.8917, allocations: 50.23 kB / 1.225 GB, free: 14.07 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004351/0.8922, allocations: 161.3 kB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003166/0.8925, allocations: 84.02 kB / 1.225 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8925, allocations: 5.25 kB / 1.225 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.8926, allocations: 47.22 kB / 1.225 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.8929, allocations: 8.922 kB / 1.225 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.8934, allocations: 216.3 kB / 1.225 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.8938, allocations: 0.6935 MB / 1.226 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.246e-05/0.8939, allocations: 8.203 kB / 1.226 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.8939, allocations: 11.44 kB / 1.226 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/0.8939, allocations: 0 / 1.226 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of Templates: time 0.005248/0.8991, allocations: 1.781 MB / 1.228 GB, free: 12.07 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.078179555013776]