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 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.Yun2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.0007543/0.0007543, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004426/0.004426, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.327/1.327, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.608/2.608, allocations: 462.6 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003683, allocations: 9.812 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4276, allocations: 159.6 MB / 1.059 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001907/0.4296, allocations: 1.244 MB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.4313, allocations: 0.7363 MB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.4314, allocations: 3.938 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/0.4314, allocations: 3.984 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.13e-05/0.4315, allocations: 15.88 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006625/0.4322, allocations: 119.7 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.4324, allocations: 95.75 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.4325, allocations: 8 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.4326, allocations: 47.83 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.841e-05/0.4327, allocations: 43.83 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.4328, allocations: 8 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.433, allocations: 95.84 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.433, allocations: 19.95 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.002e-05/0.4331, allocations: 65.48 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.4334, allocations: 155.8 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4334, allocations: 0 / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.307e-06/0.4334, allocations: 0 / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.4335, allocations: 0 / 1.061 GB, free: 2.148 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.000847/0.4343, allocations: 454.6 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.4344, allocations: 11.97 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.51e-05/0.4345, allocations: 38.75 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.4345, allocations: 8.844 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.4347, allocations: 176.2 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.4347, allocations: 8.375 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.4348, allocations: 4.375 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.435, allocations: 97.75 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4351, allocations: 3.938 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.4351, allocations: 0 / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4351, allocations: 0 / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.4353, allocations: 55.91 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007849/0.4361, allocations: 348.7 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.4363, allocations: 66.55 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.4364, allocations: 52.83 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.4365, allocations: 0 / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.4367, allocations: 99.38 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.4367, allocations: 0 / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005748/0.4373, allocations: 193.5 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.4374, allocations: 63.39 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.4375, allocations: 121.8 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.4375, allocations: 33.69 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.4376, allocations: 96.28 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.4376, allocations: 15.81 kB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.4377, allocations: 21.7 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4379, allocations: 326.8 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.706e-05/0.438, allocations: 31.92 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.4381, allocations: 75.39 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.4383, allocations: 96.2 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4383, allocations: 8 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002696/0.4386, allocations: 133.4 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4386, allocations: 4 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.4386, allocations: 4 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4387, allocations: 0 / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4388, allocations: 19.98 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.4388, allocations: 4.094 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.705e-05/0.4389, allocations: 19.78 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.4389, allocations: 7.984 kB / 1.064 GB, free: 15.23 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.000152/0.4391, allocations: 125.7 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.4391, allocations: 7.906 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.4392, allocations: 8.375 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4392, allocations: 0 / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.4392, allocations: 4 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4392, allocations: 0 / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006465/0.4399, allocations: 438.3 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4399, allocations: 0 / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.4399, allocations: 11.94 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4399, allocations: 4 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.4399, allocations: 7.984 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.44, allocations: 4.062 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.44, allocations: 3.938 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.4404, allocations: 247.8 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.4404, allocations: 92.94 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.4405, allocations: 0 / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.4406, allocations: 8 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.4406, allocations: 11.92 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.4407, allocations: 7.984 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.557e-05/0.4407, allocations: 95.27 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4407, allocations: 0 / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003078/0.441, allocations: 36 kB / 1.065 GB, free: 14.04 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.0009721/0.442, allocations: 0.8562 MB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002979/0.4423, allocations: 99.88 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4423, allocations: 0 / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.4425, allocations: 56.09 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.4428, allocations: 15.92 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.4447, allocations: 1.607 MB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.445, allocations: 0.6887 MB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.211e-05/0.445, allocations: 11.98 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.4451, allocations: 23.44 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4451, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.4593, allocations: 2.664 MB / 1.071 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.4596, allocations: 266.2 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.35, allocations: 1.969 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > 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/jenkins1/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,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed