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.008194/0.008194, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001897/0.001897, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.747/2.747, allocations: 472.6 MB / 0.7453 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 63.84 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3793, allocations: 159.9 MB / 1.226 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003265/0.3826, allocations: 1.503 MB / 1.227 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.3843, allocations: 0.771 MB / 1.228 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.758e-05/0.3844, allocations: 3.938 kB / 1.228 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.071e-05/0.3845, allocations: 7.922 kB / 1.228 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.575e-05/0.3846, allocations: 11.81 kB / 1.228 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008371/0.3854, allocations: 143.6 kB / 1.228 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.3857, allocations: 103.8 kB / 1.228 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3858, allocations: 11.98 kB / 1.228 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.386, allocations: 51.83 kB / 1.228 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.3861, allocations: 51.8 kB / 1.228 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.3861, allocations: 12 kB / 1.228 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.3864, allocations: 99.84 kB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.3865, allocations: 23.97 kB / 1.228 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.692e-05/0.3866, allocations: 39.8 kB / 1.228 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.3869, allocations: 167.5 kB / 1.229 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3869, allocations: 4 kB / 1.229 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3869, allocations: 0 / 1.229 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.387, allocations: 0 / 1.229 GB, free: 6.199 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.0008772/0.3878, allocations: 458.3 kB / 1.229 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3879, allocations: 12.02 kB / 1.229 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.388, allocations: 8.891 kB / 1.229 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.3881, allocations: 188.2 kB / 1.229 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.3881, allocations: 4.375 kB / 1.229 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.3882, allocations: 4.375 kB / 1.229 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.3885, allocations: 89.94 kB / 1.229 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3885, allocations: 4 kB / 1.229 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3885, allocations: 0 / 1.229 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3885, allocations: 0 / 1.229 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.3887, allocations: 63.88 kB / 1.229 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008501/0.3896, allocations: 344.7 kB / 1.23 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.3898, allocations: 62.55 kB / 1.23 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.3899, allocations: 48.83 kB / 1.23 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.39, allocations: 0 / 1.23 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000286/0.3903, allocations: 95.39 kB / 1.23 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.3903, allocations: 0 / 1.23 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006363/0.3909, allocations: 189.7 kB / 1.23 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.391, allocations: 59.41 kB / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3911, allocations: 129.8 kB / 1.23 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.3911, allocations: 37.64 kB / 1.23 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.3912, allocations: 84.14 kB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.3912, allocations: 19.89 kB / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.3913, allocations: 29.7 kB / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3914, allocations: 322.8 kB / 1.231 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.432e-05/0.3915, allocations: 39.91 kB / 1.231 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.3916, allocations: 62.91 kB / 1.231 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.3918, allocations: 96.2 kB / 1.231 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3919, allocations: 0 / 1.231 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002837/0.3921, allocations: 133.5 kB / 1.231 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3922, allocations: 8 kB / 1.231 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3922, allocations: 0 / 1.231 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3922, allocations: 0 / 1.231 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.3923, allocations: 15.98 kB / 1.231 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.3923, allocations: 4.094 kB / 1.231 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.885e-05/0.3924, allocations: 19.89 kB / 1.231 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.3925, allocations: 8.25 kB / 1.231 GB, free: 3.348 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.0001171/0.3926, allocations: 129 kB / 1.231 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.3926, allocations: 7.953 kB / 1.231 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.3926, allocations: 8.375 kB / 1.231 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3927, allocations: 4 kB / 1.231 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3927, allocations: 4 kB / 1.231 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3927, allocations: 0 / 1.231 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006263/0.3933, allocations: 430.4 kB / 1.232 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3933, allocations: 3.938 kB / 1.232 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.3934, allocations: 4 kB / 1.232 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3934, allocations: 0 / 1.232 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.3934, allocations: 16.05 kB / 1.232 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3934, allocations: 0 / 1.232 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3934, allocations: 7.938 kB / 1.232 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.3939, allocations: 239.4 kB / 1.232 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.3939, allocations: 89.05 kB / 1.232 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.3939, allocations: 0 / 1.232 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3941, allocations: 4 kB / 1.232 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.3941, allocations: 15.92 kB / 1.232 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.3942, allocations: 4 kB / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.839e-05/0.3942, allocations: 95.27 kB / 1.232 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3942, allocations: 0 / 1.232 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003731/0.3946, allocations: 47.86 kB / 1.232 GB, free: 2.16 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.0004279/0.395, allocations: 168.8 kB / 1.232 GB, free: 2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000334/0.3954, allocations: 91.88 kB / 1.232 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3954, allocations: 0 / 1.232 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.3956, allocations: 47.97 kB / 1.232 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.3959, allocations: 11.98 kB / 1.232 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.3964, allocations: 216 kB / 1.233 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.3967, allocations: 0.6885 MB / 1.233 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.489e-05/0.3967, allocations: 7.984 kB / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.3968, allocations: 11.44 kB / 1.233 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3968, allocations: 0 / 1.233 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of Templates: time 0.005304/0.4021, allocations: 1.758 MB / 1.235 GB, free: 15.13 MB / 0.9981 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