Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 193 kB / 16.53 MB, free: 6.391 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.594/2.594, allocations: 437 MB / 0.7103 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 0.8692 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6237/0.6249, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002978/0.6279, allocations: 1.493 MB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.6293, allocations: 0.7362 MB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.357e-05/0.6294, allocations: 0 / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.6295, allocations: 3.938 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.413e-05/0.6296, allocations: 11.86 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006693/0.6302, allocations: 123.6 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.6304, allocations: 79.77 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.6305, allocations: 12 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.6306, allocations: 39.84 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.34e-05/0.6307, allocations: 35.83 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.6308, allocations: 8 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.631, allocations: 95.91 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/0.6311, allocations: 19.91 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.6311, allocations: 31.8 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.6314, allocations: 141.6 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.6314, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6314, allocations: 4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.6314, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 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.0006795/0.6321, allocations: 424.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.6322, allocations: 8.031 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.6322, allocations: 8.844 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.6323, allocations: 164.4 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.6324, allocations: 4.375 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.6324, allocations: 4.375 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.6326, allocations: 77.91 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.6326, allocations: 3.984 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.6326, allocations: 3.984 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.6327, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.6328, allocations: 31.98 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006298/0.6334, allocations: 328.6 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.6336, allocations: 46.56 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.039e-05/0.6337, allocations: 32.91 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.6337, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.6339, allocations: 83.31 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.6339, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004097/0.6344, allocations: 137.6 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.6344, allocations: 59.39 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.6345, allocations: 125.7 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.6346, allocations: 25.7 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.6346, allocations: 92.12 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.6347, allocations: 15.81 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.6347, allocations: 33.7 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6349, allocations: 322.7 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.6349, allocations: 23.98 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.722e-05/0.6351, allocations: 46.55 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.6352, allocations: 78.48 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.6352, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002495/0.6355, allocations: 113.5 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.6355, allocations: 4 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6355, allocations: 4 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.6356, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-05/0.6357, allocations: 8 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.6357, allocations: 8.047 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.6358, allocations: 15.84 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.6358, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 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.44e-05/0.6359, allocations: 123.2 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.6359, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.636, allocations: 16.36 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.636, allocations: 3.938 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.636, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.636, allocations: 4 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.6365, allocations: 378.8 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.6365, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.6365, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.6365, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.6365, allocations: 15.92 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6366, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6366, allocations: 4.016 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.6368, allocations: 207.5 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.6369, allocations: 85.02 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.6369, allocations: 3.984 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.637, allocations: 8 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.6371, allocations: 11.92 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.6371, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.971e-05/0.6371, allocations: 95.27 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6371, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003171/0.6375, allocations: 36 kB / 1.023 GB, free: 12.05 MB / 0.7794 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.0003522/0.6378, allocations: 177.2 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.6381, allocations: 68.02 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6381, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.766e-05/0.6382, allocations: 39.92 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.6384, allocations: 7.984 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.6389, allocations: 182.3 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.6392, allocations: 0.6923 MB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.802e-05/0.6392, allocations: 4 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.6393, allocations: 11.44 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6393, allocations: 0 / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of Templates: time 0.00493/0.6442, allocations: 1.456 MB / 1.026 GB, free: 9.375 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0