Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.007194/0.007194, allocations: 102 kB / 15.73 MB, free: 6.039 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.001513/0.001513, allocations: 194.5 kB / 16.67 MB, free: 5.961 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.598/2.598, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 68.11 kB / 1.054 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9469/0.9488, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003256/0.9521, allocations: 1.508 MB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.9536, allocations: 0.7245 MB / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/0.9537, allocations: 0 / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.006e-05/0.9538, allocations: 3.938 kB / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.935e-05/0.9539, allocations: 15.86 kB / 1.209 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006649/0.9546, allocations: 119.6 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.9547, allocations: 83.69 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.9548, allocations: 11.95 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.9549, allocations: 35.92 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.401e-05/0.955, allocations: 43.81 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.9551, allocations: 4 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.9553, allocations: 99.84 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.9553, allocations: 15.98 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.9554, allocations: 35.78 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.9557, allocations: 133.9 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.9557, allocations: 4 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9557, allocations: 0 / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.9557, allocations: 0 / 1.21 GB, free: 10.71 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000771/0.9565, allocations: 424.9 kB / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.9565, allocations: 12.03 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.9566, allocations: 30.75 kB / 1.21 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.9567, allocations: 8.844 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.9568, allocations: 176.2 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.9568, allocations: 8.344 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.9569, allocations: 4.375 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.9571, allocations: 77.78 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.9571, allocations: 0 / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.9571, allocations: 0 / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.9571, allocations: 0 / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.9572, allocations: 39.97 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006927/0.958, allocations: 320.6 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.9581, allocations: 50.5 kB / 1.211 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-05/0.9582, allocations: 32.97 kB / 1.211 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.9582, allocations: 0 / 1.211 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/0.9585, allocations: 79.28 kB / 1.211 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/0.9585, allocations: 3.938 kB / 1.211 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004172/0.9589, allocations: 141.6 kB / 1.211 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.959, allocations: 55.41 kB / 1.211 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.9591, allocations: 121.8 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.9591, allocations: 29.7 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.9592, allocations: 96.19 kB / 1.212 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.9592, allocations: 11.81 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.9593, allocations: 29.7 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.9594, allocations: 326.8 kB / 1.212 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.9595, allocations: 27.98 kB / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.099e-05/0.9596, allocations: 46.94 kB / 1.212 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.9598, allocations: 74.48 kB / 1.212 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9598, allocations: 4 kB / 1.212 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002469/0.96, allocations: 113.5 kB / 1.212 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.9601, allocations: 5.875 kB / 1.212 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.9601, allocations: 0 / 1.212 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.9601, allocations: 4 kB / 1.212 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.9602, allocations: 11.98 kB / 1.212 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.9602, allocations: 3.938 kB / 1.212 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.9603, allocations: 8 kB / 1.212 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.9603, allocations: 12 kB / 1.212 GB, free: 8.109 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001113/0.9605, allocations: 121.8 kB / 1.212 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.9605, allocations: 7.906 kB / 1.212 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.9605, allocations: 4.375 kB / 1.212 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.9605, allocations: 4 kB / 1.212 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.9605, allocations: 7.938 kB / 1.212 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.9606, allocations: 0 / 1.212 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.961, allocations: 386.4 kB / 1.213 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.961, allocations: 0 / 1.213 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.9611, allocations: 7.984 kB / 1.213 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.9611, allocations: 0 / 1.213 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.9611, allocations: 0 / 1.213 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.9611, allocations: 3.938 kB / 1.213 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9611, allocations: 4.469 kB / 1.213 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.9614, allocations: 215.4 kB / 1.213 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.9615, allocations: 88.95 kB / 1.213 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.9615, allocations: 0 / 1.213 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.9616, allocations: 7.938 kB / 1.213 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.9617, allocations: 11.92 kB / 1.213 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.9617, allocations: 4 kB / 1.213 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.633e-05/0.9618, allocations: 91.27 kB / 1.213 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9618, allocations: 0 / 1.213 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003551/0.9621, allocations: 39.94 kB / 1.213 GB, free: 7.02 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008641/0.963, allocations: 0.7989 MB / 1.214 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.9633, allocations: 79.89 kB / 1.214 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9633, allocations: 0 / 1.214 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.765e-05/0.9634, allocations: 35.92 kB / 1.214 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.9637, allocations: 12.42 kB / 1.214 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.9654, allocations: 1.483 MB / 1.216 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.9657, allocations: 0.6846 MB / 1.216 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.401e-05/0.9658, allocations: 11.92 kB / 1.216 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.9659, allocations: 19.44 kB / 1.216 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of SimCode: time 2.585e-06/0.9659, allocations: 4 kB / 1.216 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.9854, allocations: 2.677 MB / 1.219 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/8.547, allocations: 15.8 kB / 1.219 GB, free: 1.215 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,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.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed