Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Zhang2012WindowsEast,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.0009307/0.0009306, allocations: 90.52 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.007234/0.007234, allocations: 171.1 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.261/1.261, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.154/2.154, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.0003039, allocations: 8 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5285/0.5288, allocations: 142.4 MB / 0.9552 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001292/0.5301, allocations: 1.218 MB / 0.9564 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.5311, allocations: 0.7174 MB / 0.9571 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.5311, allocations: 1.156 kB / 0.9571 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.5311, allocations: 0 / 0.9571 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.266e-05/0.5312, allocations: 16.88 kB / 0.9571 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.5316, allocations: 101.4 kB / 0.9572 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.112e-05/0.5317, allocations: 74.36 kB / 0.9572 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.29e-05/0.5318, allocations: 12.38 kB / 0.9573 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.5319, allocations: 34.2 kB / 0.9573 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.664e-05/0.5319, allocations: 35.11 kB / 0.9573 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.5319, allocations: 3.469 kB / 0.9573 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.5321, allocations: 89.31 kB / 0.9574 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.5321, allocations: 14.45 kB / 0.9574 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.5322, allocations: 53.56 kB / 0.9575 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.5323, allocations: 140.2 kB / 0.9576 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5324, allocations: 0 / 0.9576 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5324, allocations: 0 / 0.9576 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.5324, allocations: 0 / 0.9576 GB, free: 5.75 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.0004189/0.5328, allocations: 414.1 kB / 0.958 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.5328, allocations: 12.62 kB / 0.958 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.5329, allocations: 40.84 kB / 0.958 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.5329, allocations: 8.062 kB / 0.9581 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.724e-05/0.533, allocations: 176.6 kB / 0.9582 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.533, allocations: 2.562 kB / 0.9582 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.533, allocations: 7.625 kB / 0.9582 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.5332, allocations: 70.84 kB / 0.9583 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.5332, allocations: 1.312 kB / 0.9583 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.5332, allocations: 0 / 0.9583 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.5332, allocations: 5.375 kB / 0.9583 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.5333, allocations: 41.88 kB / 0.9583 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.5338, allocations: 333.7 kB / 0.9587 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.5339, allocations: 47.31 kB / 0.9587 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.337e-05/0.534, allocations: 38.92 kB / 0.9587 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.534, allocations: 1.969 kB / 0.9588 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.5342, allocations: 82.56 kB / 0.9588 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.5342, allocations: 0 / 0.9588 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003307/0.5345, allocations: 145.3 kB / 0.959 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.5345, allocations: 62.19 kB / 0.959 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.782e-05/0.5346, allocations: 124.9 kB / 0.9591 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.5346, allocations: 25.7 kB / 0.9592 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/0.5347, allocations: 87.23 kB / 0.9593 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.5347, allocations: 18.88 kB / 0.9593 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.5347, allocations: 25.23 kB / 0.9593 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.5347, allocations: 321.1 kB / 0.9596 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/0.5348, allocations: 32.72 kB / 0.9596 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.5349, allocations: 55.86 kB / 0.9597 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.5351, allocations: 87.77 kB / 0.9598 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.5351, allocations: 0 / 0.9598 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002011/0.5353, allocations: 115.1 kB / 0.9599 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.5353, allocations: 4.125 kB / 0.9599 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.5353, allocations: 1.375 kB / 0.9599 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.5353, allocations: 1.375 kB / 0.9599 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.5354, allocations: 25.61 kB / 0.9599 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.5354, allocations: 1.375 kB / 0.9599 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/0.5355, allocations: 9.438 kB / 0.9599 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.5355, allocations: 2.75 kB / 0.9599 GB, free: 3.559 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 5.537e-05/0.5356, allocations: 119.3 kB / 0.96 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.5356, allocations: 10.64 kB / 0.96 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.5356, allocations: 9.75 kB / 0.9601 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5356, allocations: 1.375 kB / 0.9601 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5356, allocations: 4 kB / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5356, allocations: 3.938 kB / 0.9601 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.5359, allocations: 388.4 kB / 0.9604 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.536, allocations: 1.375 kB / 0.9604 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.536, allocations: 4.125 kB / 0.9604 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.536, allocations: 4 kB / 0.9604 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.536, allocations: 5.359 kB / 0.9605 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.536, allocations: 5.312 kB / 0.9605 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.536, allocations: 0 / 0.9605 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.5362, allocations: 210.4 kB / 0.9607 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.5363, allocations: 91.75 kB / 0.9607 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.5363, allocations: 9.312 kB / 0.9608 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.5364, allocations: 8.062 kB / 0.9608 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.5364, allocations: 6.734 kB / 0.9608 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.5364, allocations: 1.375 kB / 0.9608 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.932e-05/0.5365, allocations: 93.55 kB / 0.9609 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5365, allocations: 0 / 0.9609 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002686/0.5367, allocations: 36.88 kB / 0.9609 GB, free: 2.652 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.0005419/0.5373, allocations: 0.8248 MB / 0.9617 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.5375, allocations: 79.77 kB / 0.9618 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5375, allocations: 0 / 0.9618 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.768e-05/0.5376, allocations: 38.55 kB / 0.9618 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.5378, allocations: 11.16 kB / 0.9618 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.539, allocations: 1.509 MB / 0.9633 GB, free: 480 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.5391, allocations: 0.6889 MB / 0.964 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.271e-05/0.5392, allocations: 11.14 kB / 0.964 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.5392, allocations: 26.42 kB / 0.964 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.5392, allocations: 0 / 0.964 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01153/0.5508, allocations: 2.316 MB / 0.9663 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/0.551, allocations: 259.2 kB / 0.9665 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.112, allocations: 3.938 kB / 0.9665 GB, free: 14.37 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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