Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 472.6 MB / 0.7451 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 75.17 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.345, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002995/0.348, allocations: 1.505 MB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.3493, allocations: 0.7595 MB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.3494, allocations: 0 / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.012e-05/0.3495, allocations: 7.938 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.985e-05/0.3495, allocations: 7.875 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.3501, allocations: 143.5 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3502, allocations: 103.8 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3504, allocations: 15.92 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.731e-05/0.3505, allocations: 55.83 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.941e-05/0.3506, allocations: 51.81 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.3506, allocations: 8 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.3508, allocations: 103.8 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.3508, allocations: 23.97 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.3509, allocations: 39.78 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.3512, allocations: 167.8 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3512, allocations: 0 / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.137e-06/0.3512, allocations: 4 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3512, allocations: 0 / 1.071 GB, free: 7.438 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.0006815/0.3519, allocations: 454.6 kB / 1.072 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3519, allocations: 8.031 kB / 1.072 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.352, allocations: 8.844 kB / 1.072 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.3521, allocations: 183.7 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.3522, allocations: 4.375 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.3522, allocations: 4.375 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.3524, allocations: 93.88 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3525, allocations: 7.938 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3525, allocations: 4 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3525, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.3527, allocations: 51.95 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/0.3535, allocations: 352.6 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.3536, allocations: 66.55 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.3538, allocations: 40.84 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.3538, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.3541, allocations: 99.34 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 3.627e-06/0.3541, allocations: 96 / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005599/0.3546, allocations: 185.7 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.3547, allocations: 55.41 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.3548, allocations: 125.8 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3549, allocations: 29.7 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.384e-05/0.3549, allocations: 100.2 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.355, allocations: 19.8 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.355, allocations: 25.72 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3552, allocations: 326.8 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.75e-05/0.3553, allocations: 27.98 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.3554, allocations: 68.27 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.3555, allocations: 96.14 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3555, allocations: 0 / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002561/0.3558, allocations: 137.5 kB / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3558, allocations: 7.984 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3558, allocations: 4.078 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3559, allocations: 0 / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.356, allocations: 19.92 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.356, allocations: 3.984 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-05/0.3561, allocations: 15.94 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.3561, allocations: 4 kB / 1.074 GB, free: 4.598 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.0001149/0.3562, allocations: 123.6 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.3562, allocations: 11.89 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.3563, allocations: 12.31 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3563, allocations: 4 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3563, allocations: 0 / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3563, allocations: 0 / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006303/0.3569, allocations: 438.2 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.357, allocations: 0 / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.357, allocations: 4 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.357, allocations: 0 / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.357, allocations: 16.05 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.357, allocations: 0 / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.357, allocations: 7.875 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.3574, allocations: 243.4 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.3575, allocations: 77.11 kB / 1.075 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.3575, allocations: 4 kB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3576, allocations: 7.984 kB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.3577, allocations: 11.92 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.3577, allocations: 4 kB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.48e-05/0.3578, allocations: 98.64 kB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3578, allocations: 0 / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002898/0.3581, allocations: 51.83 kB / 1.075 GB, free: 3.41 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.0003605/0.3584, allocations: 162 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002995/0.3587, allocations: 95.86 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3588, allocations: 4.188 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.359, allocations: 47.97 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.3593, allocations: 11.98 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000505/0.3598, allocations: 200 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.3601, allocations: 0.6885 MB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.508e-05/0.3601, allocations: 11.77 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.3602, allocations: 11.44 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3602, allocations: 0 / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of Templates: time 0.004956/0.3651, allocations: 1.747 MB / 1.078 GB, free: 412 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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