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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008173/0.0008175, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0009209/0.0009209, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.806/2.806, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006531/0.0006533, allocations: 12.03 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.4376, allocations: 159.6 MB / 1.058 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002031/0.4396, allocations: 1.217 MB / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.4413, allocations: 0.7132 MB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.4414, allocations: 0 / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.4414, allocations: 7.922 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.054e-05/0.4415, allocations: 15.86 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006543/0.4422, allocations: 107.8 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.4424, allocations: 91.73 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.4425, allocations: 4 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.4426, allocations: 39.91 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.4427, allocations: 47.81 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.4427, allocations: 4 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.443, allocations: 95.84 kB / 1.06 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.21e-05/0.443, allocations: 15.97 kB / 1.06 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.4431, allocations: 37.64 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.4433, allocations: 116 kB / 1.06 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4433, allocations: 0 / 1.06 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4433, allocations: 0 / 1.06 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.4434, allocations: 0 / 1.06 GB, free: 2.766 MB / 0.8106 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.0007619/0.4441, allocations: 446.5 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.4442, allocations: 8.031 kB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.4442, allocations: 11.89 kB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.4444, allocations: 171 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.4444, allocations: 8 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.4445, allocations: 7.953 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.4448, allocations: 97.56 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4448, allocations: 0 / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.4448, allocations: 4 kB / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4448, allocations: 0 / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.445, allocations: 51.97 kB / 1.061 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008284/0.4458, allocations: 352.5 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.446, allocations: 58.55 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.4462, allocations: 52.77 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.4462, allocations: 4 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.4464, allocations: 91.36 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.4465, allocations: 0 / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.00056/0.447, allocations: 201.9 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/0.4472, allocations: 55.41 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.4474, allocations: 123.1 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.4474, allocations: 33.7 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.4476, allocations: 92.12 kB / 1.062 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.4476, allocations: 11.81 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/0.4476, allocations: 4 kB / 1.062 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4478, allocations: 330.8 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.542e-05/0.4479, allocations: 27.98 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.4481, allocations: 64.27 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.4482, allocations: 47.92 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4482, allocations: 0 / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000317/0.4486, allocations: 133.4 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4486, allocations: 4 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4486, allocations: 8.094 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4486, allocations: 0 / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.4487, allocations: 19.92 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4488, allocations: 3.938 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.617e-05/0.4489, allocations: 19.92 kB / 1.063 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.4489, allocations: 4 kB / 1.063 GB, free: 24 kB / 0.8106 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.449, allocations: 121.7 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.449, allocations: 15.94 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.4492, allocations: 16.36 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4492, allocations: 0 / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4492, allocations: 0 / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4492, allocations: 0 / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005926/0.4498, allocations: 430.4 kB / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.4498, allocations: 0 / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.4498, allocations: 4 kB / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.4499, allocations: 4 kB / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.4499, allocations: 7.922 kB / 1.063 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4499, allocations: 0 / 1.063 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4499, allocations: 0 / 1.063 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.4503, allocations: 255.3 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.4504, allocations: 85.08 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.4504, allocations: 8 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.4505, allocations: 7.984 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.4506, allocations: 7.984 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.4506, allocations: 7.938 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001449/0.4508, allocations: 102 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4508, allocations: 0 / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003634/0.4511, allocations: 47.92 kB / 1.064 GB, free: 14.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004892/0.4516, allocations: 156.2 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002989/0.4519, allocations: 95.89 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.452, allocations: 0 / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.4521, allocations: 55.91 kB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.4524, allocations: 8.703 kB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/0.453, allocations: 225 kB / 1.064 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.4534, allocations: 0.6944 MB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.229e-05/0.4535, allocations: 11.98 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.4535, allocations: 15.44 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.4535, allocations: 0 / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of Templates: time 0.005307/0.4588, allocations: 1.603 MB / 1.067 GB, free: 11.94 MB / 0.8262 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