Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Zhang2012WindowsAll,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_10_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.006382/0.006382, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001668/0.001668, allocations: 202 kB / 16.68 MB, free: 5.969 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.377/2.377, allocations: 437.1 MB / 0.7106 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 67.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2507, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002604/0.2534, allocations: 1.49 MB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.2546, allocations: 0.7284 MB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.2547, allocations: 0 / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/0.2547, allocations: 7.922 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.757e-05/0.2548, allocations: 11.88 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.2553, allocations: 131.5 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.2554, allocations: 75.72 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.912e-05/0.2555, allocations: 19.95 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.865e-05/0.2556, allocations: 31.92 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.405e-05/0.2556, allocations: 39.83 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.2557, allocations: 8 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.2559, allocations: 103.8 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.2559, allocations: 11.98 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.2559, allocations: 27.86 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.2562, allocations: 143.8 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2562, allocations: 3.938 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2562, allocations: 0 / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2562, allocations: 0 / 1.169 GB, free: 4.414 MB / 0.92 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.0006126/0.2568, allocations: 424.7 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2569, allocations: 12.03 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.051e-05/0.2569, allocations: 38.73 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.257, allocations: 4.891 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.2571, allocations: 180.2 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.2571, allocations: 8.375 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.2572, allocations: 4.375 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.2573, allocations: 69.78 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.2573, allocations: 0 / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.2574, allocations: 7.984 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2574, allocations: 0 / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.2575, allocations: 35.98 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.2581, allocations: 312.7 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.2582, allocations: 50.56 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.556e-05/0.2583, allocations: 40.97 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.2583, allocations: 0 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.2585, allocations: 79.42 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2585, allocations: 0 / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003785/0.2589, allocations: 141.5 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.2589, allocations: 59.39 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.259, allocations: 121.8 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.2591, allocations: 33.7 kB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.2591, allocations: 88.09 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.2592, allocations: 23.83 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.2592, allocations: 25.7 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2593, allocations: 322.8 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.2594, allocations: 23.98 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.479e-05/0.2595, allocations: 58.55 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.2597, allocations: 74.42 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2597, allocations: 4 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002368/0.26, allocations: 117.5 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.26, allocations: 8 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.26, allocations: 0 / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.26, allocations: 0 / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/0.2601, allocations: 8 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2601, allocations: 11.92 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.2602, allocations: 4 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2602, allocations: 4 kB / 1.171 GB, free: 1.809 MB / 0.92 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 9.378e-05/0.2603, allocations: 121.8 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.2603, allocations: 11.95 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.2603, allocations: 8.359 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2603, allocations: 0 / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2603, allocations: 0 / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2604, allocations: 0 / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.2609, allocations: 390.4 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2609, allocations: 0 / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.2609, allocations: 8 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2609, allocations: 3.938 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.2609, allocations: 3.984 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2609, allocations: 3.938 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2609, allocations: 0 / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.2612, allocations: 203.5 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.2613, allocations: 85 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.2613, allocations: 11.92 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.2614, allocations: 7.938 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.2614, allocations: 7.984 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.2615, allocations: 3.984 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.732e-05/0.2615, allocations: 99.27 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2615, allocations: 0 / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002686/0.2618, allocations: 35.94 kB / 1.172 GB, free: 0.7227 MB / 0.92 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.000848/0.2626, allocations: 0.8111 MB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.2629, allocations: 71.89 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2629, allocations: 4.125 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.603e-05/0.263, allocations: 39.91 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.2632, allocations: 7.938 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.2648, allocations: 1.484 MB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.2651, allocations: 0.6846 MB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.2652, allocations: 4 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.2652, allocations: 23.42 kB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.2652, allocations: 0 / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.965/2.23, allocations: 2.641 MB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/13.8, allocations: 8.672 kB / 1.178 GB, free: 10.94 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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