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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009271/0.0009271, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005493/0.005493, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.617/2.617, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004568, allocations: 10.06 kB / 0.9029 GB, free: 36.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.532/0.5325, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.00273/0.5353, allocations: 1.248 MB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.5373, allocations: 0.7402 MB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.5375, allocations: 0 / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.159e-05/0.5376, allocations: 3.938 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.5377, allocations: 15.86 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.5388, allocations: 123.7 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.5391, allocations: 91.77 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.5393, allocations: 11.98 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.5395, allocations: 39.84 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.5396, allocations: 47.88 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.5396, allocations: 7.938 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003396/0.54, allocations: 91.84 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.692e-05/0.5401, allocations: 23.97 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.5402, allocations: 61.48 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.5406, allocations: 159.8 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.5406, allocations: 0 / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.4e-06/0.5407, allocations: 0 / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.5407, allocations: 0 / 1.061 GB, free: 2.195 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.00122/0.5419, allocations: 442.7 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 8.223e-05/0.542, allocations: 19.97 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.5421, allocations: 30.75 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.489e-05/0.5422, allocations: 8.844 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.5425, allocations: 180.2 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/0.5425, allocations: 8.375 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.5426, allocations: 4.375 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.543, allocations: 89.75 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.543, allocations: 3.984 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.543, allocations: 8 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.543, allocations: 3.938 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.5433, allocations: 55.91 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.5444, allocations: 348.7 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.5447, allocations: 62.55 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.5449, allocations: 40.84 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/0.5449, allocations: 11.98 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003497/0.5453, allocations: 99.39 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 3.487e-06/0.5453, allocations: 0 / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.000752/0.5461, allocations: 189.5 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.727e-05/0.5462, allocations: 55.41 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.5464, allocations: 125.7 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.5464, allocations: 33.7 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.5465, allocations: 92.27 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.5466, allocations: 15.81 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.5466, allocations: 17.72 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002871/0.5469, allocations: 330.8 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.547, allocations: 35.92 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.5472, allocations: 64.27 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.5474, allocations: 104.2 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5474, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002909/0.5477, allocations: 137.4 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.5477, allocations: 7.984 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5477, allocations: 4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.5478, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.5479, allocations: 15.98 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.5479, allocations: 4 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.586e-05/0.548, allocations: 11.84 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.5481, allocations: 12.09 kB / 1.064 GB, free: 15.3 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.0001241/0.5482, allocations: 125.7 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.5482, allocations: 11.89 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.5482, allocations: 12.31 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.5483, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.5483, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5483, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006149/0.5489, allocations: 438.4 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5489, allocations: 0 / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.549, allocations: 11.92 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.549, allocations: 0 / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.549, allocations: 0 / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.549, allocations: 0 / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.549, allocations: 7.938 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/0.5494, allocations: 247.4 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.5495, allocations: 88.94 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.5495, allocations: 4 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.5496, allocations: 12.06 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.5497, allocations: 15.92 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.5497, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.921e-05/0.5498, allocations: 98.39 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.745e-06/0.5498, allocations: 0 / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003615/0.5501, allocations: 47.92 kB / 1.065 GB, free: 14.11 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.001042/0.5512, allocations: 0.839 MB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.5515, allocations: 99.88 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5515, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.5517, allocations: 55.91 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.552, allocations: 19.53 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.5539, allocations: 1.606 MB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.5542, allocations: 0.6926 MB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.473e-05/0.5542, allocations: 7.984 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.5543, allocations: 19.44 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.5543, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.5715, allocations: 2.649 MB / 1.071 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003512/0.5719, allocations: 266.4 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.335, allocations: 0 / 1.071 GB, free: 7.812 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > 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/jenkins1/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,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed