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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001175/0.001175, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001108/0.001108, allocations: 192.1 kB / 16.14 MB, free: 6.711 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.247/1.247, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.367/2.367, allocations: 437 MB / 0.71 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 63.91 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6765/0.6781, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002667/0.6809, allocations: 1.651 MB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.6821, allocations: 0.7792 MB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.6821, allocations: 7.938 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.387e-05/0.6822, allocations: 3.938 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.843e-05/0.6822, allocations: 19.84 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.6827, allocations: 119.7 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.6828, allocations: 131.6 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.369e-05/0.6829, allocations: 15.98 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.683, allocations: 55.81 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.065e-05/0.6831, allocations: 75.67 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.6832, allocations: 4 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.6833, allocations: 95.91 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.6834, allocations: 27.89 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.425e-05/0.6835, allocations: 43.78 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.6837, allocations: 189.7 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6837, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6837, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.6837, allocations: 0 / 1.02 GB, free: 15.56 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.0007074/0.6844, allocations: 494.4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.6845, allocations: 8.031 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.6845, allocations: 34.75 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.6846, allocations: 12.84 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.6847, allocations: 179.8 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.6847, allocations: 16.31 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.6848, allocations: 7.938 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.685, allocations: 101.6 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.685, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.6851, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.6851, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.6853, allocations: 63.95 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008077/0.6861, allocations: 376.5 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.6863, allocations: 70.48 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.6864, allocations: 52.83 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.6864, allocations: 4 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.6867, allocations: 103.3 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.6867, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005585/0.6872, allocations: 213.4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.6873, allocations: 55.41 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.6874, allocations: 145.7 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.6874, allocations: 37.69 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.6875, allocations: 92.38 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.6875, allocations: 23.7 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.6876, allocations: 33.81 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6877, allocations: 322.8 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.6878, allocations: 43.92 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.688, allocations: 76.25 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.6882, allocations: 112.2 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6882, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003375/0.6886, allocations: 161.4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.6886, allocations: 4 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.6886, allocations: 4 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.6886, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.6888, allocations: 23.92 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.6888, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.6889, allocations: 23.92 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.6889, allocations: 8 kB / 1.023 GB, free: 12.43 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 9.301e-05/0.689, allocations: 121.7 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.689, allocations: 7.906 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.6891, allocations: 16.7 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.6891, allocations: 3.938 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6891, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.6891, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005873/0.6897, allocations: 458.5 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.6897, allocations: 4.062 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.699e-05/0.6898, allocations: 19.92 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6898, allocations: 0 / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.6898, allocations: 480 / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6898, allocations: 0 / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6898, allocations: 4 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.6902, allocations: 275.2 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.6903, allocations: 92.89 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.6903, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.6905, allocations: 7.984 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.6905, allocations: 11.98 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.6905, allocations: 4 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.201e-05/0.6906, allocations: 113.6 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6906, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002919/0.6909, allocations: 47.98 kB / 1.024 GB, free: 11.17 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.0009115/0.6918, allocations: 0.8688 MB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.6921, allocations: 107.9 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6921, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.6923, allocations: 59.91 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.6926, allocations: 12.19 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.6944, allocations: 1.734 MB / 1.026 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.6947, allocations: 0.7002 MB / 1.027 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.958e-05/0.6947, allocations: 4 kB / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.6948, allocations: 27.42 kB / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.6948, allocations: 0 / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.7295, allocations: 3.126 MB / 1.03 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.7297, allocations: 270.6 kB / 1.031 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.673, allocations: 0 / 1.031 GB, free: 4.195 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