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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00844/0.00844, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.001523/0.001523, allocations: 200 kB / 16.68 MB, free: 5.922 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.352/1.352, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.699/2.699, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 72.11 kB / 1.054 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8984/0.8997, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002538/0.9023, allocations: 1.526 MB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.9036, allocations: 0.744 MB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.9036, allocations: 4 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.9037, allocations: 7.938 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.323e-05/0.9037, allocations: 7.875 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005659/0.9043, allocations: 135.6 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.9045, allocations: 107.7 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.835e-05/0.9046, allocations: 12 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.858e-05/0.9047, allocations: 51.83 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.518e-05/0.9048, allocations: 51.81 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.9048, allocations: 8 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.905, allocations: 95.91 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.905, allocations: 27.89 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.507e-05/0.9051, allocations: 43.8 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.9053, allocations: 175.1 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9053, allocations: 0 / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9053, allocations: 0 / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.9054, allocations: 4 kB / 1.211 GB, free: 10.65 MB / 0.9356 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.0006555/0.906, allocations: 452.6 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.9061, allocations: 8.031 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.9061, allocations: 8.844 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.9062, allocations: 180.2 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.9063, allocations: 384 / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.9063, allocations: 8.375 kB / 1.211 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.9065, allocations: 93.88 kB / 1.211 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.9066, allocations: 4 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.9066, allocations: 0 / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.9066, allocations: 0 / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.9067, allocations: 51.91 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007258/0.9075, allocations: 344.7 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.9077, allocations: 62.55 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.9078, allocations: 40.84 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.9078, allocations: 3.984 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.908, allocations: 91.36 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.908, allocations: 0 / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0005121/0.9085, allocations: 181.5 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.9086, allocations: 55.41 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.263e-05/0.9087, allocations: 129.8 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.9087, allocations: 29.7 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.9088, allocations: 100.2 kB / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.9088, allocations: 23.75 kB / 1.212 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.9089, allocations: 29.7 kB / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.909, allocations: 326.8 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.519e-05/0.9091, allocations: 27.98 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.9092, allocations: 63.89 kB / 1.213 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.9094, allocations: 92.22 kB / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.9094, allocations: 0 / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002591/0.9096, allocations: 133.4 kB / 1.213 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.9097, allocations: 12.09 kB / 1.213 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.9097, allocations: 3.938 kB / 1.213 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.9097, allocations: 0 / 1.213 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.9098, allocations: 19.97 kB / 1.213 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.9098, allocations: 0 / 1.213 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.577e-05/0.9099, allocations: 15.98 kB / 1.213 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.9099, allocations: 7.984 kB / 1.213 GB, free: 7.844 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 9.059e-05/0.91, allocations: 121.7 kB / 1.213 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.91, allocations: 11.91 kB / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.9101, allocations: 8.375 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.9101, allocations: 4 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.9101, allocations: 0 / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.9101, allocations: 3.984 kB / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.9106, allocations: 430.3 kB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9106, allocations: 0 / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.9107, allocations: 8 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.9107, allocations: 3.938 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.9107, allocations: 8.047 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9107, allocations: 0 / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.9107, allocations: 3.938 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.9111, allocations: 251.7 kB / 1.214 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.9112, allocations: 81.11 kB / 1.214 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.9112, allocations: 4 kB / 1.214 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.9113, allocations: 7.984 kB / 1.214 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.9114, allocations: 7.938 kB / 1.214 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.9114, allocations: 7.984 kB / 1.214 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.9114, allocations: 95.27 kB / 1.214 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9114, allocations: 0 / 1.214 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003057/0.9117, allocations: 43.91 kB / 1.214 GB, free: 6.66 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.0003776/0.9121, allocations: 166.9 kB / 1.214 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002827/0.9124, allocations: 91.88 kB / 1.214 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.9124, allocations: 0 / 1.214 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.9126, allocations: 43.92 kB / 1.214 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.9129, allocations: 18.05 kB / 1.214 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.9133, allocations: 204 kB / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.9136, allocations: 0.6924 MB / 1.215 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.187e-05/0.9136, allocations: 12.06 kB / 1.215 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.9137, allocations: 11.44 kB / 1.215 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.9137, allocations: 0 / 1.215 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of Templates: time 0.004311/0.918, allocations: 1.771 MB / 1.217 GB, free: 3.621 MB / 0.9356 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