Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.007405/0.007412, allocations: 101.3 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.001647/0.001647, allocations: 193.8 kB / 16.68 MB, free: 5.953 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.89 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8356/0.8371, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003047/0.8402, allocations: 1.49 MB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.8417, allocations: 0.74 MB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.8418, allocations: 0 / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.217e-05/0.8419, allocations: 7.922 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.681e-05/0.842, allocations: 7.875 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/0.8426, allocations: 131.6 kB / 1.168 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.8428, allocations: 67.78 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.8429, allocations: 19.97 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.843, allocations: 31.92 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.8431, allocations: 47.75 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.8431, allocations: 8 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.8434, allocations: 87.91 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.8434, allocations: 15.98 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.8435, allocations: 35.8 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.8438, allocations: 145.9 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.8438, allocations: 0 / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8438, allocations: 0 / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.8438, allocations: 0 / 1.169 GB, free: 0.9297 MB / 0.8887 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.0006976/0.8445, allocations: 416.9 kB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.8446, allocations: 8.922 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/0.8446, allocations: 34.73 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.8447, allocations: 8.844 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.8448, allocations: 176.3 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.8448, allocations: 8.375 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.8449, allocations: 4.375 kB / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.8451, allocations: 69.72 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.8451, allocations: 4 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.8451, allocations: 7.984 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.8451, allocations: 0 / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.8453, allocations: 31.98 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.8459, allocations: 316.7 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.846, allocations: 50.56 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.074e-05/0.8461, allocations: 36.91 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.8462, allocations: 3.938 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.8464, allocations: 83.34 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.8464, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004153/0.8468, allocations: 137.6 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.8469, allocations: 63.33 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.847, allocations: 125.6 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.847, allocations: 37.7 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.8471, allocations: 88.12 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.8471, allocations: 15.81 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.238e-05/0.8472, allocations: 25.7 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8474, allocations: 322.8 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.615e-05/0.8475, allocations: 27.97 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.209e-05/0.8476, allocations: 46.56 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.8477, allocations: 74.48 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.8477, allocations: 8 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002525/0.848, allocations: 113.5 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.848, allocations: 8 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.848, allocations: 8.047 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.848, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.821e-05/0.8481, allocations: 8 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.8482, allocations: 7.984 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.8482, allocations: 7.938 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.8483, allocations: 4 kB / 1.171 GB, free: 14.33 MB / 0.9044 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.0001054/0.8484, allocations: 121.7 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.8484, allocations: 11.91 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.8484, allocations: 16.3 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8484, allocations: 0 / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8485, allocations: 0 / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8485, allocations: 0 / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.849, allocations: 382.5 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.849, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.849, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.849, allocations: 4 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.849, allocations: 3.984 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.8491, allocations: 11.88 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8491, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.8494, allocations: 207.4 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.8494, allocations: 81.02 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.8494, allocations: 3.984 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.8495, allocations: 7.938 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.8496, allocations: 11.98 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.8496, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.411e-05/0.8497, allocations: 99.27 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8497, allocations: 0 / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003183/0.85, allocations: 39.94 kB / 1.172 GB, free: 13.25 MB / 0.9044 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.0008383/0.8508, allocations: 0.8144 MB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.8511, allocations: 79.88 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8511, allocations: 3.938 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.8513, allocations: 32.11 kB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.8516, allocations: 16.16 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.8533, allocations: 1.471 MB / 1.174 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.8536, allocations: 0.6924 MB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.301e-05/0.8537, allocations: 11.97 kB / 1.175 GB, free: 10 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.8537, allocations: 23.38 kB / 1.175 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.8537, allocations: 0 / 1.175 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.872, allocations: 2.654 MB / 1.178 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.84/8.712, allocations: 14.16 kB / 1.178 GB, free: 7.453 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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