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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001029/0.001029, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009656/0.0009656, allocations: 190.9 kB / 16.13 MB, free: 6.645 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.217/1.217, allocations: 222.9 MB / 239.8 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.143/2.143, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5094/0.5106, allocations: 140.4 MB / 0.949 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002215/0.5129, allocations: 1.642 MB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.5139, allocations: 0.789 MB / 0.9514 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.514, allocations: 1.281 kB / 0.9514 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/0.514, allocations: 7.875 kB / 0.9514 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.5141, allocations: 18.62 kB / 0.9514 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.5145, allocations: 118.7 kB / 0.9516 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.5147, allocations: 128.2 kB / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.993e-05/0.5148, allocations: 27.73 kB / 0.9517 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.617e-05/0.5149, allocations: 53.14 kB / 0.9518 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.197e-05/0.5149, allocations: 69.84 kB / 0.9518 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.515, allocations: 6.625 kB / 0.9518 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.5151, allocations: 96.19 kB / 0.9519 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.5152, allocations: 24.09 kB / 0.9519 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.5152, allocations: 53.2 kB / 0.952 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.5154, allocations: 181.6 kB / 0.9522 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5155, allocations: 1.406 kB / 0.9522 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.91e-07/0.5155, allocations: 3.938 kB / 0.9522 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.5155, allocations: 0 / 0.9522 GB, free: 6.691 MB / 0.7169 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.0005723/0.516, allocations: 483.3 kB / 0.9526 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.5161, allocations: 12.59 kB / 0.9526 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.133e-05/0.5161, allocations: 37.81 kB / 0.9527 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.5162, allocations: 18.05 kB / 0.9527 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.374e-05/0.5162, allocations: 182.1 kB / 0.9529 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.5163, allocations: 8.406 kB / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.5163, allocations: 8.281 kB / 0.9529 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.5165, allocations: 95.25 kB / 0.953 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.5165, allocations: 0 / 0.953 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.5165, allocations: 5.562 kB / 0.953 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.5166, allocations: 5.375 kB / 0.953 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.5167, allocations: 60.55 kB / 0.953 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006926/0.5174, allocations: 375.7 kB / 0.9534 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.5176, allocations: 74.45 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.5177, allocations: 52.14 kB / 0.9535 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.5178, allocations: 6.172 kB / 0.9535 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.518, allocations: 99.09 kB / 0.9536 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.518, allocations: 4 kB / 0.9536 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005023/0.5185, allocations: 213.8 kB / 0.9538 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.5185, allocations: 57.81 kB / 0.9539 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.04e-05/0.5186, allocations: 146 kB / 0.954 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.5186, allocations: 38.66 kB / 0.9541 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.5187, allocations: 92.31 kB / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.5187, allocations: 26.83 kB / 0.9542 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.5187, allocations: 32.23 kB / 0.9542 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.789e-05/0.5188, allocations: 325.6 kB / 0.9545 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.5189, allocations: 37.73 kB / 0.9546 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.519, allocations: 75.28 kB / 0.9546 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.5192, allocations: 109.7 kB / 0.9547 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5192, allocations: 0 / 0.9547 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002955/0.5195, allocations: 162 kB / 0.9549 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5195, allocations: 7.812 kB / 0.9549 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.5195, allocations: 1.406 kB / 0.9549 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.5196, allocations: 1.375 kB / 0.9549 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.5197, allocations: 21.11 kB / 0.9549 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5197, allocations: 2.438 kB / 0.9549 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.957e-05/0.5198, allocations: 17.2 kB / 0.9549 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.5198, allocations: 8.344 kB / 0.9549 GB, free: 4.18 MB / 0.7169 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 6.519e-05/0.5199, allocations: 124.4 kB / 0.9551 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.5199, allocations: 12.78 kB / 0.9551 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.52, allocations: 15.27 kB / 0.9551 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.52, allocations: 4.938 kB / 0.9551 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.52, allocations: 1.125 kB / 0.9551 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.52, allocations: 0 / 0.9551 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.5205, allocations: 460.9 kB / 0.9555 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5205, allocations: 112 / 0.9555 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.5206, allocations: 22.48 kB / 0.9556 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5206, allocations: 480 / 0.9556 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.5206, allocations: 1.547 kB / 0.9556 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5206, allocations: 1.375 kB / 0.9556 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.5206, allocations: 3.984 kB / 0.9556 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.5209, allocations: 273.6 kB / 0.9558 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.521, allocations: 96.8 kB / 0.9559 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.521, allocations: 1.406 kB / 0.9559 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.5211, allocations: 7.984 kB / 0.9559 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.5212, allocations: 14.48 kB / 0.9559 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.5212, allocations: 3.375 kB / 0.9559 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.5212, allocations: 111.7 kB / 0.9561 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5212, allocations: 0 / 0.9561 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002919/0.5215, allocations: 42.72 kB / 0.9561 GB, free: 3.168 MB / 0.7169 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.0006662/0.5222, allocations: 0.8689 MB / 0.9569 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000287/0.5225, allocations: 104 kB / 0.957 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5225, allocations: 0 / 0.957 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.5226, allocations: 59.41 kB / 0.9571 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.5229, allocations: 7.719 kB / 0.9571 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.5244, allocations: 1.721 MB / 0.9588 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.083e-05/0.5245, allocations: 0.7023 MB / 0.9595 GB, free: 92 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.18e-05/0.5246, allocations: 4.062 kB / 0.9595 GB, free: 92 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.5246, allocations: 27.77 kB / 0.9595 GB, free: 68 kB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5246, allocations: 0 / 0.9595 GB, free: 68 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.5499, allocations: 3.127 MB / 0.9626 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003036/0.5502, allocations: 267.8 kB / 0.9628 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.131, allocations: 4 kB / 0.9628 GB, free: 14.16 MB / 0.7325 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