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.001062/0.001061, allocations: 92 kB / 15.36 MB, free: 0.7383 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.008515/0.008516, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.496/1.496, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.95/2.95, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.000398, allocations: 8.969 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3762, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002141/0.3784, allocations: 1.235 MB / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3798, allocations: 0.7441 MB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.3799, allocations: 4 kB / 1.076 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.3799, allocations: 3.938 kB / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.87e-05/0.38, allocations: 7.922 kB / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.3805, allocations: 115.7 kB / 1.076 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.3807, allocations: 95.77 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3808, allocations: 15.98 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.889e-05/0.3809, allocations: 43.83 kB / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.337e-05/0.381, allocations: 55.73 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.381, allocations: 4 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.3812, allocations: 87.91 kB / 1.077 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.3813, allocations: 15.98 kB / 1.077 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.58e-05/0.3813, allocations: 69.47 kB / 1.077 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.3816, allocations: 159.8 kB / 1.077 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3816, allocations: 0 / 1.077 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.717e-06/0.3816, allocations: 3.984 kB / 1.077 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3816, allocations: 4 kB / 1.077 GB, free: 4.859 MB / 0.8262 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.0007071/0.3824, allocations: 434.7 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3824, allocations: 12.03 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.3825, allocations: 12.78 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.3826, allocations: 180.2 kB / 1.077 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.3826, allocations: 4.359 kB / 1.077 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.3827, allocations: 8.375 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.3829, allocations: 93.89 kB / 1.077 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3829, allocations: 0 / 1.077 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.383, allocations: 11.98 kB / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.383, allocations: 0 / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.3832, allocations: 47.97 kB / 1.078 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008183/0.384, allocations: 356.6 kB / 1.078 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3842, allocations: 58.59 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.3844, allocations: 52.83 kB / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3844, allocations: 0 / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.3846, allocations: 95.36 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.3847, allocations: 0 / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005863/0.3852, allocations: 201.6 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.3853, allocations: 51.41 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3854, allocations: 133.3 kB / 1.078 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3854, allocations: 25.7 kB / 1.078 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.961e-05/0.3855, allocations: 96.14 kB / 1.079 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.3855, allocations: 11.81 kB / 1.079 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.3856, allocations: 25.7 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3857, allocations: 322.8 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-05/0.3858, allocations: 31.98 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3859, allocations: 68.27 kB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.3861, allocations: 100.2 kB / 1.079 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3861, allocations: 0 / 1.079 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002718/0.3864, allocations: 133.4 kB / 1.079 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3864, allocations: 8 kB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3864, allocations: 0 / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3865, allocations: 4 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.3866, allocations: 20.08 kB / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3866, allocations: 3.938 kB / 1.079 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.469e-05/0.3867, allocations: 23.83 kB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.3867, allocations: 4 kB / 1.079 GB, free: 2.02 MB / 0.8262 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.000106/0.3868, allocations: 117.8 kB / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.3869, allocations: 11.84 kB / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.387, allocations: 12.31 kB / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.387, allocations: 8 kB / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.387, allocations: 0 / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.387, allocations: 3.984 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.3876, allocations: 430.4 kB / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3876, allocations: 3.984 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.3877, allocations: 8 kB / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3877, allocations: 0 / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3877, allocations: 7.984 kB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3877, allocations: 0 / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3877, allocations: 4 kB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.3881, allocations: 255.7 kB / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.3882, allocations: 89.02 kB / 1.08 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.3882, allocations: 0 / 1.08 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3883, allocations: 7.984 kB / 1.08 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.3883, allocations: 7.938 kB / 1.08 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.3884, allocations: 7.984 kB / 1.08 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.248e-05/0.3885, allocations: 95.27 kB / 1.08 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3885, allocations: 0 / 1.08 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002974/0.3888, allocations: 43.94 kB / 1.08 GB, free: 0.8281 MB / 0.8262 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.0003709/0.3891, allocations: 166.4 kB / 1.08 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000294/0.3895, allocations: 99.94 kB / 1.081 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3895, allocations: 0 / 1.081 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.3896, allocations: 59.91 kB / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.3899, allocations: 4 kB / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.3904, allocations: 233 kB / 1.081 GB, free: 260 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.3908, allocations: 0.6887 MB / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.908e-05/0.3909, allocations: 7.781 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.3909, allocations: 15.42 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.3909, allocations: 4 kB / 1.082 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of Templates: time 0.004753/0.3957, allocations: 1.628 MB / 1.083 GB, free: 13.89 MB / 0.8419 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