Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.001459/0.001459, 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.001574/0.001574, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.446/2.446, allocations: 437 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 75.81 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094/1.095, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003912/1.099, allocations: 1.596 MB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001552/1.101, allocations: 0.7905 MB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.882e-05/1.101, allocations: 0 / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/1.101, allocations: 3.938 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.825e-05/1.101, allocations: 23.73 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007112/1.102, allocations: 147.7 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001775/1.102, allocations: 135.5 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/1.102, allocations: 16 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/1.102, allocations: 63.81 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/1.102, allocations: 71.8 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/1.103, allocations: 12 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/1.103, allocations: 103.8 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/1.103, allocations: 31.89 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.399e-05/1.103, allocations: 55.72 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003061/1.103, allocations: 193.8 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/1.103, allocations: 0 / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/1.103, allocations: 0 / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.103, allocations: 0 / 1.021 GB, free: 15.24 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009073/1.104, allocations: 479.8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/1.104, allocations: 12.03 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.077e-05/1.104, allocations: 38.75 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/1.104, allocations: 16.75 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/1.105, allocations: 181.3 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/1.105, allocations: 4.375 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/1.105, allocations: 11.94 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/1.105, allocations: 105.5 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/1.105, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/1.105, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.105, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/1.105, allocations: 59.89 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008988/1.106, allocations: 380.5 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/1.106, allocations: 66.55 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/1.106, allocations: 52.83 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/1.106, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003155/1.107, allocations: 107.3 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/1.107, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.000597/1.107, allocations: 217.4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/1.107, allocations: 51.41 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/1.108, allocations: 158 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/1.108, allocations: 29.7 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/1.108, allocations: 96.38 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/1.108, allocations: 23.86 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/1.108, allocations: 29.7 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.108, allocations: 322.8 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/1.108, allocations: 43.97 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/1.108, allocations: 72.27 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/1.108, allocations: 108.2 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.109, allocations: 3.938 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000324/1.109, allocations: 157.5 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/1.109, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.109, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.109, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/1.109, allocations: 23.97 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/1.109, allocations: 7.938 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/1.109, allocations: 15.83 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/1.109, allocations: 12.09 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001227/1.109, allocations: 117.8 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/1.109, allocations: 11.89 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/1.109, allocations: 12.72 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/1.109, allocations: 3.938 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.109, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.109, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/1.11, allocations: 462.4 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.11, allocations: 480 / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.706e-05/1.11, allocations: 15.92 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.11, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/1.11, allocations: 4 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.11, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.11, allocations: 7.922 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/1.111, allocations: 267.3 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/1.111, allocations: 96.8 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/1.111, allocations: 0 / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/1.111, allocations: 7.984 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/1.111, allocations: 12.02 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/1.111, allocations: 8 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.565e-05/1.111, allocations: 111.2 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/1.111, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003507/1.111, allocations: 40 kB / 1.024 GB, free: 10.86 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00116/1.113, allocations: 0.8593 MB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003746/1.113, allocations: 119.8 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.113, allocations: 0 / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/1.113, allocations: 63.84 kB / 1.025 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/1.114, allocations: 16.17 kB / 1.025 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/1.116, allocations: 1.703 MB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/1.116, allocations: 0.7002 MB / 1.028 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.853e-05/1.116, allocations: 4 kB / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/1.116, allocations: 31.42 kB / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/1.116, allocations: 0 / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7026/1.819, allocations: 3.357 MB / 1.031 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.558/10.38, allocations: 7.547 kB / 1.031 GB, free: 4 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches