Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_9_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.007104/0.007103, allocations: 101 kB / 15.73 MB, free: 5.586 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.001226/0.001226, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.91 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7013/0.7025, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.0022/0.7048, allocations: 1.582 MB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.7059, allocations: 0.773 MB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.034e-05/0.7059, allocations: 1.062 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.706, allocations: 9.75 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.421e-05/0.706, allocations: 19.39 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.7065, allocations: 148.8 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.7067, allocations: 140 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.893e-05/0.7068, allocations: 19.28 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.805e-05/0.7069, allocations: 66.53 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.707, allocations: 69.7 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.707, allocations: 12.84 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.7072, allocations: 103.2 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.7073, allocations: 37.34 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.7073, allocations: 52.34 kB / 1.09 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.7076, allocations: 196.9 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7076, allocations: 0 / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7076, allocations: 5.031 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.986e-06/0.7076, allocations: 0 / 1.091 GB, free: 3.281 MB / 0.8575 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.0006023/0.7082, allocations: 484.6 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.7083, allocations: 14.05 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.011e-05/0.7083, allocations: 37.02 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.7084, allocations: 11.7 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.215e-05/0.7084, allocations: 180.8 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.7085, allocations: 4.234 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.7085, allocations: 17.48 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.7087, allocations: 96.41 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.7088, allocations: 0 / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.7088, allocations: 5.422 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.7088, allocations: 5.75 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.709, allocations: 61.14 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008188/0.7098, allocations: 373.7 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.71, allocations: 75.08 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.7102, allocations: 51.67 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.7102, allocations: 2.094 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.7105, allocations: 101.4 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.7105, allocations: 0.7188 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005918/0.7111, allocations: 217 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.7111, allocations: 54.45 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.786e-05/0.7112, allocations: 149.4 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.7112, allocations: 29.39 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.7113, allocations: 102.5 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.7113, allocations: 20.56 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.7114, allocations: 35.86 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.698e-05/0.7114, allocations: 325.5 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.7116, allocations: 40.89 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.7117, allocations: 71.42 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.7119, allocations: 112.3 kB / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.712, allocations: 0 / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003314/0.7123, allocations: 152.1 kB / 1.093 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.7123, allocations: 12.77 kB / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.7123, allocations: 1.438 kB / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.7123, allocations: 2.281 kB / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.7125, allocations: 26.23 kB / 1.093 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.7125, allocations: 1.75 kB / 1.093 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.7126, allocations: 16.28 kB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.7126, allocations: 5.266 kB / 1.093 GB, free: 1.027 MB / 0.8575 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 7.3e-05/0.7127, allocations: 129.3 kB / 1.093 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.7127, allocations: 8.859 kB / 1.093 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.7128, allocations: 12.17 kB / 1.094 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.7128, allocations: 5.844 kB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.7128, allocations: 0.7812 kB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.7128, allocations: 0.5625 kB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005587/0.7134, allocations: 461 kB / 1.094 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7134, allocations: 112 / 1.094 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.547e-05/0.7135, allocations: 20.61 kB / 1.094 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7135, allocations: 5.531 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.7135, allocations: 3.547 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.7135, allocations: 0.5156 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7135, allocations: 0 / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.7139, allocations: 264.3 kB / 1.094 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.7139, allocations: 96.78 kB / 1.094 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.7139, allocations: 6.297 kB / 1.094 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.7141, allocations: 6.656 kB / 1.094 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.7141, allocations: 14.09 kB / 1.094 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.7142, allocations: 8.672 kB / 1.094 GB, free: 204 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.345e-05/0.7142, allocations: 105.5 kB / 1.094 GB, free: 120 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7142, allocations: 0 / 1.094 GB, free: 120 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003491/0.7146, allocations: 45.7 kB / 1.095 GB, free: 112 kB / 0.8575 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.001041/0.7156, allocations: 0.8642 MB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000379/0.716, allocations: 114.3 kB / 1.095 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.716, allocations: 0 / 1.095 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.7162, allocations: 62.34 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.7165, allocations: 9.875 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.7186, allocations: 1.717 MB / 1.097 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.7189, allocations: 0.6968 MB / 1.098 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.201e-05/0.7189, allocations: 5.531 kB / 1.098 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.719, allocations: 27.2 kB / 1.098 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.719, allocations: 4 kB / 1.098 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.7367, allocations: 3.397 MB / 1.101 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/7.683, allocations: 1.219 kB / 1.101 GB, free: 12.66 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches