Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_9_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.001338/0.001338, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001354/0.001354, allocations: 191 kB / 16.25 MB, free: 6.637 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.231/1.231, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.162/2.162, allocations: 390.3 MB / 0.6644 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6385/0.6398, allocations: 140.4 MB / 0.9492 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002777/0.6426, allocations: 1.554 MB / 0.9508 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.6437, allocations: 0.7205 MB / 0.9515 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.6437, allocations: 5.531 kB / 0.9515 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.6438, allocations: 3.984 kB / 0.9515 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.106e-05/0.6438, allocations: 9.25 kB / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.6444, allocations: 110.3 kB / 0.9516 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.6445, allocations: 75.34 kB / 0.9516 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.6446, allocations: 25.45 kB / 0.9517 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.811e-05/0.6447, allocations: 29.67 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.112e-05/0.6448, allocations: 42.81 kB / 0.9517 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.6448, allocations: 6.875 kB / 0.9517 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.645, allocations: 102.1 kB / 0.9518 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.645, allocations: 14.39 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.645, allocations: 32.83 kB / 0.9519 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.6452, allocations: 136.3 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.6453, allocations: 0 / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6453, allocations: 0 / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.6453, allocations: 5.219 kB / 0.952 GB, free: 7.152 MB / 0.7169 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.0005596/0.6458, allocations: 419.6 kB / 0.9524 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.6459, allocations: 17.23 kB / 0.9524 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.6459, allocations: 32.28 kB / 0.9525 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.646, allocations: 8.031 kB / 0.9525 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.591e-05/0.6461, allocations: 176.3 kB / 0.9526 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.6461, allocations: 7.844 kB / 0.9527 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.6461, allocations: 7.797 kB / 0.9527 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.6463, allocations: 71.88 kB / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.6463, allocations: 0 / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.6463, allocations: 1.562 kB / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.6463, allocations: 0 / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.6465, allocations: 40.31 kB / 0.9528 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.647, allocations: 321.6 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.6471, allocations: 44.94 kB / 0.9531 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.342e-05/0.6472, allocations: 35.5 kB / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.6472, allocations: 1.125 kB / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.6474, allocations: 78.25 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.6474, allocations: 0 / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003643/0.6478, allocations: 143.9 kB / 0.9534 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.6478, allocations: 57 kB / 0.9534 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.772e-05/0.6479, allocations: 120.8 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.6479, allocations: 31.36 kB / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.648, allocations: 94.88 kB / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.648, allocations: 14.62 kB / 0.9537 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.648, allocations: 29.73 kB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.747e-05/0.6481, allocations: 320.2 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/0.6482, allocations: 35 kB / 0.954 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.232e-05/0.6483, allocations: 45.03 kB / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.6484, allocations: 72.98 kB / 0.9542 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6484, allocations: 0 / 0.9542 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002113/0.6486, allocations: 126.1 kB / 0.9543 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.6487, allocations: 4.75 kB / 0.9543 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.6487, allocations: 2.078 kB / 0.9543 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.6487, allocations: 0 / 0.9543 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.6488, allocations: 12.73 kB / 0.9543 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.6488, allocations: 4.969 kB / 0.9543 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.004e-05/0.6488, allocations: 7.906 kB / 0.9543 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.6489, allocations: 3.219 kB / 0.9543 GB, free: 4.961 MB / 0.7169 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 6.226e-05/0.6489, allocations: 127.5 kB / 0.9544 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.649, allocations: 11.05 kB / 0.9544 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.649, allocations: 5.5 kB / 0.9544 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.649, allocations: 1.062 kB / 0.9544 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.649, allocations: 0 / 0.9544 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.649, allocations: 1.125 kB / 0.9544 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.6493, allocations: 389.9 kB / 0.9548 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6494, allocations: 5.438 kB / 0.9548 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.6494, allocations: 2.875 kB / 0.9548 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6494, allocations: 1.25 kB / 0.9548 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.6494, allocations: 3.984 kB / 0.9548 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6494, allocations: 9.25 kB / 0.9548 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6494, allocations: 3.938 kB / 0.9548 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.6497, allocations: 201.9 kB / 0.955 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.6497, allocations: 91.41 kB / 0.9551 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.6497, allocations: 1.406 kB / 0.9551 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.553e-05/0.6498, allocations: 5.375 kB / 0.9551 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.6498, allocations: 11.77 kB / 0.9551 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.6499, allocations: 5.125 kB / 0.9551 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.322e-05/0.6499, allocations: 93.17 kB / 0.9552 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6499, allocations: 0 / 0.9552 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002666/0.6502, allocations: 36.62 kB / 0.9553 GB, free: 4.047 MB / 0.7169 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.0006015/0.6508, allocations: 0.8004 MB / 0.9561 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.651, allocations: 82.69 kB / 0.9561 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.651, allocations: 0 / 0.9561 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.908e-05/0.6511, allocations: 35.98 kB / 0.9562 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.6514, allocations: 15.34 kB / 0.9562 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.6526, allocations: 1.485 MB / 0.9576 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.6527, allocations: 0.6931 MB / 0.9583 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.514e-05/0.6528, allocations: 11.61 kB / 0.9583 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.6528, allocations: 22.92 kB / 0.9583 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6528, allocations: 0 / 0.9583 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.6766, allocations: 2.482 MB / 0.9608 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.6768, allocations: 261.2 kB / 0.961 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.489, allocations: 1.031 kB / 0.961 GB, free: 15.6 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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