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.001628/0.001629, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001628/0.001628, allocations: 193.1 kB / 16.25 MB, free: 6.633 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.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.254/2.254, allocations: 390.2 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001301, allocations: 63.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5853/0.5866, allocations: 140.4 MB / 0.9492 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002604/0.5892, allocations: 1.647 MB / 0.9508 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.5905, allocations: 0.7749 MB / 0.9516 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.5906, allocations: 3.938 kB / 0.9516 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.408e-05/0.5907, allocations: 1.438 kB / 0.9516 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.596e-05/0.5908, allocations: 17.45 kB / 0.9516 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.5914, allocations: 135.8 kB / 0.9517 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.5916, allocations: 132.8 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.5917, allocations: 24.66 kB / 0.9519 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.5918, allocations: 57.78 kB / 0.952 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.858e-05/0.5919, allocations: 77.62 kB / 0.952 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.5919, allocations: 11.25 kB / 0.952 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.5921, allocations: 99.47 kB / 0.9521 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.5922, allocations: 32.34 kB / 0.9522 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.928e-05/0.5922, allocations: 60.67 kB / 0.9522 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.5925, allocations: 188 kB / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5925, allocations: 0 / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5925, allocations: 0 / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.5925, allocations: 0 / 0.9524 GB, free: 6.727 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.0006726/0.5932, allocations: 483.2 kB / 0.9529 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5932, allocations: 9.438 kB / 0.9529 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.5933, allocations: 36.91 kB / 0.9529 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.5933, allocations: 18.25 kB / 0.9529 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.388e-05/0.5934, allocations: 191.3 kB / 0.9531 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.5934, allocations: 6.781 kB / 0.9531 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.5935, allocations: 9.594 kB / 0.9531 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.5937, allocations: 90 kB / 0.9532 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.5937, allocations: 1.719 kB / 0.9532 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.5937, allocations: 4 kB / 0.9532 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5937, allocations: 5.359 kB / 0.9532 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.5939, allocations: 69.08 kB / 0.9533 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007431/0.5947, allocations: 370.8 kB / 0.9536 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.5948, allocations: 70.39 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.595, allocations: 53.17 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.595, allocations: 1.219 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.5952, allocations: 107.9 kB / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.5952, allocations: 0 / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005239/0.5958, allocations: 218 kB / 0.9541 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.5958, allocations: 53.91 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.439e-05/0.5959, allocations: 150.1 kB / 0.9543 GB, free: 5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.5959, allocations: 31.14 kB / 0.9543 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.596, allocations: 92.97 kB / 0.9544 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.596, allocations: 26.62 kB / 0.9544 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.5961, allocations: 32.11 kB / 0.9544 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.5961, allocations: 329.7 kB / 0.9547 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.5962, allocations: 33.77 kB / 0.9548 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.5964, allocations: 73.91 kB / 0.9549 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.5966, allocations: 113.9 kB / 0.955 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5966, allocations: 1.219 kB / 0.955 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003037/0.5969, allocations: 157.2 kB / 0.9551 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.5969, allocations: 6.594 kB / 0.9551 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5969, allocations: 5.531 kB / 0.9551 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.5969, allocations: 1.25 kB / 0.9551 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.5971, allocations: 24.42 kB / 0.9551 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.5971, allocations: 2.469 kB / 0.9551 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.5972, allocations: 17.7 kB / 0.9552 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.5972, allocations: 4.312 kB / 0.9552 GB, free: 4.215 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 7.247e-05/0.5973, allocations: 118.7 kB / 0.9553 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.5973, allocations: 16.12 kB / 0.9553 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.5973, allocations: 15.55 kB / 0.9553 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5974, allocations: 5.547 kB / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5974, allocations: 3.938 kB / 0.9553 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5974, allocations: 0 / 0.9553 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.5979, allocations: 456.6 kB / 0.9558 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.5979, allocations: 0.9688 kB / 0.9558 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.5979, allocations: 22.14 kB / 0.9558 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.598, allocations: 3.938 kB / 0.9558 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.598, allocations: 2.219 kB / 0.9558 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.598, allocations: 0 / 0.9558 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.598, allocations: 1 kB / 0.9558 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.5983, allocations: 269.7 kB / 0.956 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.5984, allocations: 96.36 kB / 0.9561 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.5984, allocations: 5.125 kB / 0.9561 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.5985, allocations: 12.48 kB / 0.9562 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.5986, allocations: 11.36 kB / 0.9562 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.5986, allocations: 2.312 kB / 0.9562 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.5987, allocations: 110.4 kB / 0.9563 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5987, allocations: 0 / 0.9563 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003089/0.599, allocations: 42.59 kB / 0.9563 GB, free: 3.207 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.0007073/0.5997, allocations: 0.868 MB / 0.9572 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003022/0.6, allocations: 116.6 kB / 0.9573 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6, allocations: 0 / 0.9573 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.6002, allocations: 56.06 kB / 0.9573 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.6004, allocations: 11.73 kB / 0.9573 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.602, allocations: 1.723 MB / 0.959 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.6021, allocations: 0.7019 MB / 0.9597 GB, free: 120 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.783e-05/0.6022, allocations: 8.125 kB / 0.9597 GB, free: 116 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.6023, allocations: 31.55 kB / 0.9597 GB, free: 88 kB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.6023, allocations: 1.375 kB / 0.9597 GB, free: 88 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.6174, allocations: 3.209 MB / 0.9629 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.6176, allocations: 263.5 kB / 0.9631 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.415, allocations: 6.219 kB / 0.9631 GB, free: 14.15 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