Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 103.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 247.8 MB, free: 3.711 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 443.5 MB / 0.7287 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 67.91 kB / 1.056 GB, free: 2.492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3327, allocations: 160.7 MB / 1.213 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002833/0.3356, allocations: 1.591 MB / 1.214 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.337, allocations: 0.7992 MB / 1.215 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.3371, allocations: 4 kB / 1.215 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.794e-05/0.3371, allocations: 11.86 kB / 1.215 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.3372, allocations: 19.8 kB / 1.215 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006011/0.3378, allocations: 143.6 kB / 1.215 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00019/0.338, allocations: 135.6 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.3381, allocations: 24.19 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3382, allocations: 55.84 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.3383, allocations: 79.7 kB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.3383, allocations: 12 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.3385, allocations: 107.8 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.3386, allocations: 35.89 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.3387, allocations: 51.78 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.339, allocations: 195.3 kB / 1.216 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.339, allocations: 0 / 1.216 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.339, allocations: 4 kB / 1.216 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.339, allocations: 3.984 kB / 1.216 GB, free: 14.18 MB / 0.9669 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.0008096/0.3398, allocations: 486.1 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3398, allocations: 8.031 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.969e-05/0.3399, allocations: 42.75 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.3399, allocations: 8.891 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.3401, allocations: 184.8 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.3401, allocations: 384 / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.3401, allocations: 15.94 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.3404, allocations: 93.56 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3404, allocations: 0 / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3404, allocations: 3.984 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3404, allocations: 4 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.3406, allocations: 67.94 kB / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.3415, allocations: 376.5 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.3417, allocations: 74.48 kB / 1.217 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.3418, allocations: 48.83 kB / 1.217 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.3419, allocations: 4 kB / 1.217 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.3421, allocations: 95.34 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.3421, allocations: 0 / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005963/0.3427, allocations: 221.5 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.3428, allocations: 51.41 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3429, allocations: 148.2 kB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.3429, allocations: 29.7 kB / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.343, allocations: 96.33 kB / 1.218 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.343, allocations: 19.89 kB / 1.218 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/0.3431, allocations: 33.7 kB / 1.218 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3432, allocations: 326.8 kB / 1.218 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3434, allocations: 43.91 kB / 1.218 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.3435, allocations: 72.27 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.3438, allocations: 112.2 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.3438, allocations: 0 / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003647/0.3442, allocations: 161.4 kB / 1.219 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.3442, allocations: 6.188 kB / 1.219 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3442, allocations: 8.094 kB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3442, allocations: 0 / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.3444, allocations: 19.92 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3444, allocations: 4 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.3445, allocations: 19.88 kB / 1.219 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.3445, allocations: 4 kB / 1.219 GB, free: 11.07 MB / 0.9669 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 0.0001182/0.3446, allocations: 125.8 kB / 1.219 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.3446, allocations: 15.94 kB / 1.219 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.3447, allocations: 13.09 kB / 1.219 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3447, allocations: 3.938 kB / 1.219 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3447, allocations: 0 / 1.219 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3447, allocations: 112 / 1.219 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000687/0.3454, allocations: 466.4 kB / 1.219 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3454, allocations: 0 / 1.219 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.911e-05/0.3454, allocations: 15.92 kB / 1.219 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3454, allocations: 4 kB / 1.219 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3455, allocations: 0 / 1.219 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3455, allocations: 0 / 1.219 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3455, allocations: 0 / 1.219 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004601/0.3459, allocations: 275.2 kB / 1.22 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.346, allocations: 89 kB / 1.22 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.346, allocations: 0 / 1.22 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3461, allocations: 15.98 kB / 1.22 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.3462, allocations: 7.984 kB / 1.22 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3462, allocations: 4 kB / 1.22 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.849e-05/0.3463, allocations: 109.9 kB / 1.22 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3463, allocations: 0 / 1.22 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003187/0.3466, allocations: 43.94 kB / 1.22 GB, free: 9.812 MB / 0.9669 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.001056/0.3477, allocations: 0.8731 MB / 1.221 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.348, allocations: 107.9 kB / 1.221 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.348, allocations: 0 / 1.221 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.3482, allocations: 51.91 kB / 1.221 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.3485, allocations: 15.92 kB / 1.221 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.3506, allocations: 1.723 MB / 1.223 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.351, allocations: 0.7002 MB / 1.223 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.889e-05/0.351, allocations: 4 kB / 1.223 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.3511, allocations: 27.42 kB / 1.223 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3511, allocations: 0 / 1.223 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.3782, allocations: 3.431 MB / 1.227 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.533, allocations: 10.94 kB / 1.227 GB, free: 2.891 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.730772741138935]