Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009925/0.0009926, allocations: 92.16 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.9 MB / 0.666 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003007, allocations: 8 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.712/0.7123, allocations: 142.4 MB / 0.9544 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001374/0.7137, allocations: 1.22 MB / 0.9556 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009908/0.7148, allocations: 0.7029 MB / 0.9563 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.7148, allocations: 0 / 0.9563 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.7148, allocations: 8.922 kB / 0.9563 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.7149, allocations: 9.156 kB / 0.9563 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.7153, allocations: 110.2 kB / 0.9564 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.7155, allocations: 86.09 kB / 0.9565 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.7155, allocations: 17.03 kB / 0.9565 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.844e-05/0.7156, allocations: 38.69 kB / 0.9566 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.27e-05/0.7157, allocations: 51.62 kB / 0.9566 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.7157, allocations: 5.406 kB / 0.9566 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.7159, allocations: 90.31 kB / 0.9567 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.7159, allocations: 23.14 kB / 0.9567 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.716, allocations: 40.2 kB / 0.9568 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.7161, allocations: 107.5 kB / 0.9569 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7161, allocations: 0.9062 kB / 0.9569 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.083e-06/0.7161, allocations: 0 / 0.9569 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.7162, allocations: 0 / 0.9569 GB, free: 5.867 MB / 0.7169 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.0004922/0.7167, allocations: 452.8 kB / 0.9573 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.7167, allocations: 9.156 kB / 0.9573 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.7168, allocations: 15.3 kB / 0.9573 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.179e-05/0.7168, allocations: 176.2 kB / 0.9575 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.7169, allocations: 2.594 kB / 0.9575 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.7169, allocations: 7.875 kB / 0.9575 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.7171, allocations: 88.53 kB / 0.9576 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.7171, allocations: 0 / 0.9576 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.7171, allocations: 5.094 kB / 0.9576 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.7171, allocations: 1.25 kB / 0.9576 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.7173, allocations: 53.48 kB / 0.9576 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.7179, allocations: 341.3 kB / 0.958 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.7181, allocations: 68.61 kB / 0.958 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.7182, allocations: 42.38 kB / 0.9581 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.7182, allocations: 9.328 kB / 0.9581 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.7184, allocations: 102.6 kB / 0.9582 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.7185, allocations: 0 / 0.9582 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004838/0.7189, allocations: 192.2 kB / 0.9584 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.719, allocations: 58.53 kB / 0.9584 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.701e-05/0.7191, allocations: 133.5 kB / 0.9585 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.7191, allocations: 31.23 kB / 0.9586 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.7191, allocations: 91.19 kB / 0.9587 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.7191, allocations: 18.84 kB / 0.9587 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.7192, allocations: 4 kB / 0.9587 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.7192, allocations: 322 kB / 0.959 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.06e-05/0.7193, allocations: 29.86 kB / 0.959 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.621e-05/0.7194, allocations: 67.45 kB / 0.9591 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.084e-05/0.7195, allocations: 45.48 kB / 0.9591 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7195, allocations: 1.781 kB / 0.9591 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002325/0.7197, allocations: 128.3 kB / 0.9593 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.7197, allocations: 5.5 kB / 0.9593 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.7198, allocations: 5.469 kB / 0.9593 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.7198, allocations: 10.69 kB / 0.9593 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.7199, allocations: 18.97 kB / 0.9593 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.7199, allocations: 1.375 kB / 0.9593 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.238e-05/0.72, allocations: 14.77 kB / 0.9593 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.72, allocations: 4.125 kB / 0.9593 GB, free: 3.621 MB / 0.7169 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.63e-05/0.7201, allocations: 129.2 kB / 0.9594 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.7201, allocations: 8.031 kB / 0.9594 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.7201, allocations: 9.75 kB / 0.9595 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.7201, allocations: 5.328 kB / 0.9595 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7201, allocations: 3.984 kB / 0.9595 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.7201, allocations: 0 / 0.9595 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.7206, allocations: 431.7 kB / 0.9599 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7206, allocations: 0 / 0.9599 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.7207, allocations: 8.062 kB / 0.9599 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7207, allocations: 5.328 kB / 0.9599 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.7207, allocations: 5.359 kB / 0.9599 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.7207, allocations: 8 kB / 0.9599 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7207, allocations: 0 / 0.9599 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.721, allocations: 250.9 kB / 0.9601 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.7211, allocations: 83.77 kB / 0.9602 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.7211, allocations: 5.328 kB / 0.9602 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.7212, allocations: 13.48 kB / 0.9602 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.7212, allocations: 2.75 kB / 0.9602 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.7213, allocations: 6.734 kB / 0.9602 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.7213, allocations: 96.89 kB / 0.9603 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7213, allocations: 0 / 0.9603 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003152/0.7216, allocations: 39.62 kB / 0.9604 GB, free: 2.66 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002998/0.7219, allocations: 173.5 kB / 0.9605 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.7222, allocations: 95.89 kB / 0.9606 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7222, allocations: 0 / 0.9606 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.7224, allocations: 48.66 kB / 0.9607 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.7226, allocations: 8.219 kB / 0.9607 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.723, allocations: 222.2 kB / 0.9609 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.7231, allocations: 0.6941 MB / 0.9616 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.284e-05/0.7232, allocations: 15.55 kB / 0.9616 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.7232, allocations: 14.7 kB / 0.9616 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.7232, allocations: 0 / 0.9616 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of Templates: time 0.003976/0.7272, allocations: 1.598 MB / 0.9632 GB, free: 0.7266 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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