Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001473, 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.001704/0.001705, allocations: 195.1 kB / 16.14 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.833/2.833, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 64.28 kB / 0.8984 GB, free: 37.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4213, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003282/0.4246, allocations: 1.653 MB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.4261, allocations: 0.7906 MB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.4262, allocations: 4 kB / 1.054 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.104e-05/0.4262, allocations: 7.922 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.264e-05/0.4263, allocations: 7.875 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.4269, allocations: 127.7 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.427, allocations: 127.6 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.4272, allocations: 20 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.4273, allocations: 59.75 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.4274, allocations: 67.78 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.4274, allocations: 4 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.4277, allocations: 95.91 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.4278, allocations: 27.84 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.86e-05/0.4279, allocations: 51.72 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.4282, allocations: 195.7 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4282, allocations: 0 / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.22e-07/0.4282, allocations: 0 / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.4282, allocations: 0 / 1.055 GB, free: 5.586 MB / 0.8106 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.0009096/0.4291, allocations: 478.5 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4292, allocations: 12.03 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.4292, allocations: 8.844 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.4294, allocations: 190.8 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.4294, allocations: 12.38 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.4294, allocations: 8.125 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.4298, allocations: 97.5 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4298, allocations: 0 / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.4299, allocations: 4 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4299, allocations: 4 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.4301, allocations: 59.95 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000854/0.4309, allocations: 372.6 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.4311, allocations: 74.47 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.4313, allocations: 56.83 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.4313, allocations: 0 / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002737/0.4316, allocations: 99.34 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.4316, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005823/0.4322, allocations: 213.4 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.4322, allocations: 59.41 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.4324, allocations: 143.4 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.4324, allocations: 33.7 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.4325, allocations: 96.36 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.4325, allocations: 28.17 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-05/0.4326, allocations: 33.69 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002513/0.4328, allocations: 318.8 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.433, allocations: 47.91 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.4331, allocations: 79.2 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.4334, allocations: 112.2 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4334, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000461/0.4338, allocations: 161.4 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4339, allocations: 4 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4339, allocations: 0 / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.4339, allocations: 8.203 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.434, allocations: 19.92 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.4341, allocations: 3.938 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.4342, allocations: 15.89 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.4342, allocations: 8 kB / 1.058 GB, free: 2.52 MB / 0.8106 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.857e-05/0.4343, allocations: 123.3 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.4343, allocations: 7.906 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.4344, allocations: 16.77 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4344, allocations: 8 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4344, allocations: 3.938 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4344, allocations: 0 / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006106/0.435, allocations: 458.3 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.435, allocations: 0 / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/0.4351, allocations: 7.984 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4351, allocations: 3.938 kB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.4351, allocations: 12 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4351, allocations: 0 / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4351, allocations: 0 / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.4356, allocations: 271.2 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.4356, allocations: 84.95 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.4357, allocations: 4 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.4358, allocations: 11.98 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.4359, allocations: 8.188 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.4359, allocations: 3.984 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.803e-05/0.4359, allocations: 113 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.436, allocations: 0 / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003175/0.4363, allocations: 47.98 kB / 1.059 GB, free: 1.262 MB / 0.8106 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.0003452/0.4366, allocations: 158.1 kB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.437, allocations: 111.9 kB / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.437, allocations: 3.938 kB / 1.059 GB, free: 1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.4371, allocations: 59.91 kB / 1.059 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.4374, allocations: 20.97 kB / 1.059 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/0.4379, allocations: 246.4 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.4383, allocations: 0.7004 MB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.528e-05/0.4383, allocations: 4.188 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.4384, allocations: 15.42 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.4384, allocations: 3.938 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.004971/0.4434, allocations: 1.833 MB / 1.062 GB, free: 14.08 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches