Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.001707/0.001707, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002081/0.002081, allocations: 189.4 kB / 22.23 MB, free: 5.137 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.528/1.528, allocations: 225.6 MB / 251 MB, free: 13.04 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.677/2.677, allocations: 443.4 MB / 0.7321 GB, free: 12.29 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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 63.89 kB / 1.061 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9008/0.9029, allocations: 160.8 MB / 1.218 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003426/0.9063, allocations: 1.54 MB / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.908, allocations: 0.7685 MB / 1.221 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.468e-05/0.908, allocations: 0 / 1.221 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.873e-05/0.9081, allocations: 9.016 kB / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.615e-05/0.9082, allocations: 17.06 kB / 1.221 GB, free: 1.812 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007865/0.909, allocations: 149 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.9092, allocations: 103.3 kB / 1.221 GB, free: 1.645 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.9093, allocations: 15.88 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.9094, allocations: 48.27 kB / 1.221 GB, free: 1.609 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.9095, allocations: 51.19 kB / 1.221 GB, free: 1.574 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.9096, allocations: 9.344 kB / 1.221 GB, free: 1.574 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003545/0.9099, allocations: 140.5 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.91, allocations: 30.98 kB / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.776e-05/0.91, allocations: 41.27 kB / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.9104, allocations: 163.1 kB / 1.221 GB, free: 1.332 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.9104, allocations: 0 / 1.221 GB, free: 1.332 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9104, allocations: 0 / 1.221 GB, free: 1.332 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.9104, allocations: 0 / 1.221 GB, free: 1.332 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.0008593/0.9113, allocations: 466.9 kB / 1.222 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.9113, allocations: 9.844 kB / 1.222 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.9114, allocations: 9.828 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.9115, allocations: 176.3 kB / 1.222 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.9116, allocations: 10.69 kB / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.9116, allocations: 5.125 kB / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.9119, allocations: 87.16 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.9119, allocations: 0 / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.9119, allocations: 9.109 kB / 1.222 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.9119, allocations: 1.062 kB / 1.222 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.9121, allocations: 49.09 kB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008382/0.9129, allocations: 343.3 kB / 1.223 GB, free: 196 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.9131, allocations: 59.2 kB / 1.223 GB, free: 148 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.9133, allocations: 39.45 kB / 1.223 GB, free: 124 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.9133, allocations: 4.906 kB / 1.223 GB, free: 120 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.9136, allocations: 104.6 kB / 1.223 GB, free: 28 kB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.9136, allocations: 0 / 1.223 GB, free: 28 kB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0006142/0.9142, allocations: 184.9 kB / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.9142, allocations: 57.31 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.9144, allocations: 129.5 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.9144, allocations: 30.8 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.9145, allocations: 103.2 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.9146, allocations: 11.06 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.9146, allocations: 30.61 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.9148, allocations: 325 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.931e-05/0.9149, allocations: 36.92 kB / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.915, allocations: 64.67 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.9152, allocations: 91.47 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9152, allocations: 0.9688 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002923/0.9155, allocations: 137.2 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.9155, allocations: 5.656 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.9155, allocations: 1.094 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.9155, allocations: 1.156 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.9157, allocations: 14.89 kB / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.9157, allocations: 2.188 kB / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.686e-05/0.9158, allocations: 15.95 kB / 1.224 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.9158, allocations: 8.516 kB / 1.224 GB, free: 14.99 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.0001274/0.9159, allocations: 137.6 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.9159, allocations: 7.578 kB / 1.224 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.916, allocations: 10.53 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.916, allocations: 1.125 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.916, allocations: 0 / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.916, allocations: 9.125 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.9166, allocations: 426.9 kB / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.9166, allocations: 3.938 kB / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.9167, allocations: 4.156 kB / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.9167, allocations: 3.984 kB / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.9167, allocations: 1.719 kB / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9167, allocations: 4.781 kB / 1.225 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.9167, allocations: 7.938 kB / 1.225 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.9172, allocations: 247.8 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.9172, allocations: 87.27 kB / 1.225 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.9173, allocations: 1.219 kB / 1.225 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.9174, allocations: 8.375 kB / 1.225 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.9174, allocations: 10.27 kB / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.9174, allocations: 10.7 kB / 1.225 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000145/0.9176, allocations: 96.33 kB / 1.225 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9176, allocations: 0.8125 kB / 1.225 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003618/0.9179, allocations: 43.31 kB / 1.225 GB, free: 14.02 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.0004268/0.9184, allocations: 162.1 kB / 1.225 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003161/0.9187, allocations: 93.66 kB / 1.225 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.9187, allocations: 1.188 kB / 1.225 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.9188, allocations: 47.08 kB / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.9191, allocations: 7.156 kB / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.9197, allocations: 223.4 kB / 1.226 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.92, allocations: 0.6938 MB / 1.226 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.043e-05/0.9201, allocations: 8.172 kB / 1.226 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.9201, allocations: 10.72 kB / 1.226 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.9201, allocations: 1.125 kB / 1.226 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of Templates: time 0.005746/0.9258, allocations: 1.782 MB / 1.228 GB, free: 12.02 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.139430612325668]