Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.007673/0.007673, allocations: 99.67 kB / 15.73 MB, free: 6.039 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.001237/0.001238, allocations: 199.3 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 472.6 MB / 0.7453 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.89 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3514, allocations: 159.9 MB / 1.226 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003143/0.3546, allocations: 1.515 MB / 1.227 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.3566, allocations: 0.7594 MB / 1.228 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.962e-05/0.3567, allocations: 3.938 kB / 1.228 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.3567, allocations: 7.875 kB / 1.228 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.224e-05/0.3568, allocations: 19.84 kB / 1.228 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007105/0.3576, allocations: 139.5 kB / 1.228 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.3577, allocations: 99.75 kB / 1.228 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3578, allocations: 15.97 kB / 1.228 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.358, allocations: 47.84 kB / 1.228 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.815e-05/0.3581, allocations: 51.81 kB / 1.228 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.3581, allocations: 8 kB / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.3583, allocations: 107.8 kB / 1.228 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.3584, allocations: 23.95 kB / 1.228 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.199e-05/0.3585, allocations: 39.8 kB / 1.228 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.3588, allocations: 159.5 kB / 1.229 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3588, allocations: 0 / 1.229 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.126e-06/0.3588, allocations: 0 / 1.229 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.3588, allocations: 3.938 kB / 1.229 GB, free: 6.219 MB / 0.9825 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.0007954/0.3596, allocations: 462.3 kB / 1.229 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.3597, allocations: 20.02 kB / 1.229 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.3597, allocations: 8.891 kB / 1.229 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3599, allocations: 180.2 kB / 1.229 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.3599, allocations: 4.375 kB / 1.229 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.3599, allocations: 8.375 kB / 1.229 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.3602, allocations: 85.94 kB / 1.229 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3602, allocations: 3.938 kB / 1.229 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3602, allocations: 0 / 1.229 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3602, allocations: 0 / 1.229 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.3604, allocations: 51.95 kB / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007962/0.3612, allocations: 340.7 kB / 1.23 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3614, allocations: 62.58 kB / 1.23 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.3616, allocations: 48.83 kB / 1.23 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.3616, allocations: 4.156 kB / 1.23 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.3619, allocations: 91.34 kB / 1.23 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.824e-06/0.3619, allocations: 0 / 1.23 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005376/0.3624, allocations: 185.5 kB / 1.23 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.3625, allocations: 55.41 kB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.3626, allocations: 137 kB / 1.23 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.3626, allocations: 29.7 kB / 1.23 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.3627, allocations: 92.12 kB / 1.23 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.3627, allocations: 19.83 kB / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.3628, allocations: 33.7 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.3629, allocations: 326.8 kB / 1.231 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.932e-05/0.363, allocations: 27.98 kB / 1.231 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.3631, allocations: 64.27 kB / 1.231 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.3633, allocations: 96.2 kB / 1.231 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3633, allocations: 4 kB / 1.231 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002731/0.3636, allocations: 129.5 kB / 1.231 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3636, allocations: 8 kB / 1.231 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3636, allocations: 0 / 1.231 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3636, allocations: 4 kB / 1.231 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3638, allocations: 16.08 kB / 1.231 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.3638, allocations: 7.938 kB / 1.231 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.32e-05/0.3639, allocations: 19.88 kB / 1.231 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.3639, allocations: 4 kB / 1.231 GB, free: 3.379 MB / 0.9825 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.0001113/0.364, allocations: 118.3 kB / 1.231 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.364, allocations: 7.953 kB / 1.231 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.3641, allocations: 16.31 kB / 1.231 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3641, allocations: 3.984 kB / 1.231 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3641, allocations: 4 kB / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3641, allocations: 0 / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/0.3647, allocations: 422.7 kB / 1.232 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3647, allocations: 0 / 1.232 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.3648, allocations: 4 kB / 1.232 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3648, allocations: 0 / 1.232 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.3648, allocations: 12.05 kB / 1.232 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3648, allocations: 4 kB / 1.232 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3648, allocations: 7.938 kB / 1.232 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.3652, allocations: 247.4 kB / 1.232 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.3653, allocations: 85.06 kB / 1.232 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.3653, allocations: 0 / 1.232 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3654, allocations: 7.984 kB / 1.232 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.3655, allocations: 15.94 kB / 1.232 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.3655, allocations: 7.984 kB / 1.232 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.3656, allocations: 91.27 kB / 1.232 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3656, allocations: 0 / 1.232 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003448/0.3659, allocations: 43.88 kB / 1.232 GB, free: 2.199 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: 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.0003605/0.3663, allocations: 168.6 kB / 1.232 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000301/0.3666, allocations: 87.94 kB / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3666, allocations: 0 / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.3667, allocations: 47.91 kB / 1.232 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.367, allocations: 13.81 kB / 1.232 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.3676, allocations: 212.1 kB / 1.233 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.3678, allocations: 0.6873 MB / 1.233 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.693e-05/0.3679, allocations: 15.91 kB / 1.233 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.3679, allocations: 11.44 kB / 1.233 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3679, allocations: 0 / 1.233 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of Templates: time 0.004924/0.3729, allocations: 1.734 MB / 1.235 GB, free: 15.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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