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.004924/0.004923, allocations: 103.8 kB / 15.73 MB, free: 6.043 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.001166/0.001166, allocations: 189 kB / 16.67 MB, free: 5.961 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.261/2.261, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.91 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003179/1.018, allocations: 1.586 MB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0014/1.019, allocations: 0.7767 MB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.892e-05/1.019, allocations: 1.5 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.489e-05/1.019, allocations: 9.75 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.839e-05/1.019, allocations: 25.08 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006813/1.02, allocations: 143.6 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002468/1.02, allocations: 135.3 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/1.021, allocations: 19.05 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/1.021, allocations: 66.94 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/1.021, allocations: 70.2 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/1.021, allocations: 11.84 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002965/1.021, allocations: 104.8 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/1.021, allocations: 31.94 kB / 1.09 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.484e-05/1.021, allocations: 52.48 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000402/1.022, allocations: 201.9 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.022, allocations: 0 / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/1.022, allocations: 0 / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.292e-06/1.022, allocations: 0 / 1.091 GB, free: 3.25 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.0007971/1.023, allocations: 488.4 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.023, allocations: 10 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/1.023, allocations: 38.31 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/1.023, allocations: 10.61 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/1.023, allocations: 182 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/1.023, allocations: 4.766 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/1.023, allocations: 13.3 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/1.023, allocations: 103.6 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.023, allocations: 0.7969 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/1.023, allocations: 0.7812 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.023, allocations: 1.656 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/1.023, allocations: 61.45 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008156/1.024, allocations: 386.4 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/1.024, allocations: 69.58 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/1.025, allocations: 56.62 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/1.025, allocations: 1.656 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/1.025, allocations: 102 kB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/1.025, allocations: 0 / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005958/1.026, allocations: 213.5 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/1.026, allocations: 55.89 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/1.026, allocations: 147.7 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/1.026, allocations: 26.64 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/1.026, allocations: 103.4 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/1.026, allocations: 21.12 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/1.026, allocations: 31.39 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.637e-05/1.026, allocations: 322 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/1.026, allocations: 44.84 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/1.026, allocations: 75.7 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/1.026, allocations: 107.7 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.026, allocations: 0.9688 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003465/1.027, allocations: 163.5 kB / 1.093 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.027, allocations: 6.234 kB / 1.093 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.027, allocations: 2.031 kB / 1.093 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/1.027, allocations: 2.031 kB / 1.093 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/1.027, allocations: 21.12 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/1.027, allocations: 6.406 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/1.027, allocations: 15.92 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/1.027, allocations: 9.359 kB / 1.093 GB, free: 0.9844 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 9.435e-05/1.027, allocations: 125.6 kB / 1.093 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/1.027, allocations: 8.906 kB / 1.093 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/1.027, allocations: 12.25 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.027, allocations: 5.719 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.027, allocations: 0.8906 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/1.027, allocations: 2.281 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006073/1.028, allocations: 471.5 kB / 1.094 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.028, allocations: 0.7969 kB / 1.094 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.49e-05/1.028, allocations: 12.64 kB / 1.094 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/1.028, allocations: 0.7031 kB / 1.094 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/1.028, allocations: 7.828 kB / 1.094 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/1.028, allocations: 0.7969 kB / 1.094 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.028, allocations: 0.6875 kB / 1.094 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/1.029, allocations: 267.1 kB / 1.094 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/1.029, allocations: 96.31 kB / 1.094 GB, free: 172 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/1.029, allocations: 2.391 kB / 1.094 GB, free: 172 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/1.029, allocations: 6.938 kB / 1.094 GB, free: 172 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/1.029, allocations: 6 kB / 1.094 GB, free: 172 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/1.029, allocations: 8.953 kB / 1.094 GB, free: 168 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.621e-05/1.029, allocations: 107.7 kB / 1.094 GB, free: 84 kB / 0.8575 GB Notification: Performance of sort global known variables: time 5.92e-07/1.029, allocations: 4 kB / 1.094 GB, free: 80 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003711/1.029, allocations: 48.8 kB / 1.095 GB, free: 68 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.0009717/1.03, allocations: 0.8564 MB / 1.095 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003558/1.031, allocations: 111.1 kB / 1.095 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.031, allocations: 0 / 1.095 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/1.031, allocations: 58.81 kB / 1.096 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/1.031, allocations: 19.56 kB / 1.096 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/1.033, allocations: 1.714 MB / 1.097 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/1.034, allocations: 0.6955 MB / 1.098 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.809e-05/1.034, allocations: 11.03 kB / 1.098 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/1.034, allocations: 31.31 kB / 1.098 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of SimCode: time 3e-07/1.034, allocations: 0 / 1.098 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/1.054, allocations: 3.458 MB / 1.101 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/8.568, allocations: 9.594 kB / 1.101 GB, free: 12.59 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