Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.001281/0.001281, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001262/0.001262, allocations: 194.6 kB / 16.25 MB, free: 6.629 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.278/1.278, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.257/2.257, allocations: 390.2 MB / 0.6644 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.89 kB / 0.8122 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5452/0.5465, allocations: 140.4 MB / 0.9492 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002109/0.5486, allocations: 1.554 MB / 0.9507 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008913/0.5495, allocations: 0.7226 MB / 0.9515 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.5496, allocations: 3.938 kB / 0.9515 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.564e-05/0.5496, allocations: 1.375 kB / 0.9515 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.298e-05/0.5497, allocations: 9.297 kB / 0.9515 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.5501, allocations: 106.1 kB / 0.9516 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.133e-05/0.5502, allocations: 83.33 kB / 0.9516 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.655e-05/0.5503, allocations: 25.42 kB / 0.9517 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.412e-05/0.5504, allocations: 33.66 kB / 0.9517 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/0.5504, allocations: 38.83 kB / 0.9517 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.5504, allocations: 6.875 kB / 0.9517 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.5506, allocations: 97.94 kB / 0.9518 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.5506, allocations: 14.39 kB / 0.9519 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.5507, allocations: 36.69 kB / 0.9519 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.5509, allocations: 136.7 kB / 0.952 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5509, allocations: 0 / 0.952 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5509, allocations: 4 kB / 0.952 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.5509, allocations: 0 / 0.952 GB, free: 7.082 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.0004881/0.5514, allocations: 428.2 kB / 0.9524 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5515, allocations: 9.688 kB / 0.9524 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.5515, allocations: 32.06 kB / 0.9525 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.5515, allocations: 3.812 kB / 0.9525 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.625e-05/0.5516, allocations: 168.5 kB / 0.9526 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.5517, allocations: 15.05 kB / 0.9526 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.5517, allocations: 3.781 kB / 0.9527 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.5519, allocations: 72 kB / 0.9527 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5519, allocations: 0 / 0.9527 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.5519, allocations: 5.344 kB / 0.9527 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5519, allocations: 1.312 kB / 0.9527 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.552, allocations: 35.62 kB / 0.9528 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/0.5526, allocations: 322.4 kB / 0.9531 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.5527, allocations: 52.69 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.372e-05/0.5528, allocations: 31.94 kB / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.5529, allocations: 1.625 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.553, allocations: 79.8 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.553, allocations: 1.5 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003603/0.5534, allocations: 144.3 kB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.5534, allocations: 51.97 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.27e-05/0.5535, allocations: 121.9 kB / 0.9535 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.5535, allocations: 31.08 kB / 0.9536 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.5536, allocations: 94.66 kB / 0.9537 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.5536, allocations: 22.09 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.5537, allocations: 25.89 kB / 0.9537 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.5537, allocations: 325.3 kB / 0.954 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.838e-05/0.5538, allocations: 29.89 kB / 0.954 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.869e-05/0.5539, allocations: 44.59 kB / 0.9541 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.554, allocations: 78.45 kB / 0.9542 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.554, allocations: 0 / 0.9542 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002146/0.5543, allocations: 112.7 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.5543, allocations: 11.66 kB / 0.9543 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5543, allocations: 0 / 0.9543 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5543, allocations: 2.281 kB / 0.9543 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.454e-05/0.5544, allocations: 16.05 kB / 0.9543 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.5544, allocations: 1.25 kB / 0.9543 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.833e-05/0.5545, allocations: 7.375 kB / 0.9543 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.5545, allocations: 3.281 kB / 0.9543 GB, free: 4.895 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.919e-05/0.5546, allocations: 126.5 kB / 0.9544 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.5546, allocations: 8.188 kB / 0.9544 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.5546, allocations: 9.531 kB / 0.9544 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5546, allocations: 1.531 kB / 0.9544 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5547, allocations: 4 kB / 0.9544 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5547, allocations: 0 / 0.9544 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.555, allocations: 387.2 kB / 0.9548 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.555, allocations: 0 / 0.9548 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.5551, allocations: 7.953 kB / 0.9548 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.5551, allocations: 3.984 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.5551, allocations: 1.344 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.5551, allocations: 5.344 kB / 0.9548 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5551, allocations: 4 kB / 0.9548 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.5553, allocations: 205 kB / 0.955 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.5554, allocations: 87.84 kB / 0.9551 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.5554, allocations: 0 / 0.9551 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.679e-05/0.5555, allocations: 7.688 kB / 0.9551 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.5555, allocations: 6.547 kB / 0.9551 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.5555, allocations: 1.188 kB / 0.9551 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.382e-05/0.5556, allocations: 105.5 kB / 0.9552 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5556, allocations: 0 / 0.9552 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002908/0.5559, allocations: 32.31 kB / 0.9553 GB, free: 3.984 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.0005792/0.5565, allocations: 0.8161 MB / 0.9561 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.5567, allocations: 77.8 kB / 0.9561 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5567, allocations: 0 / 0.9561 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.032e-05/0.5568, allocations: 35.89 kB / 0.9562 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.557, allocations: 15.17 kB / 0.9562 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.5583, allocations: 1.484 MB / 0.9576 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.201e-05/0.5584, allocations: 0.6886 MB / 0.9583 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.5584, allocations: 3.375 kB / 0.9583 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.5585, allocations: 23.7 kB / 0.9583 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of SimCode: time 7.32e-07/0.5585, allocations: 0 / 0.9583 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01148/0.57, allocations: 2.48 MB / 0.9607 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/0.5703, allocations: 256.8 kB / 0.961 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.22, allocations: 2.25 kB / 0.961 GB, free: 15.58 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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