Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 215.8 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.802/2.802, allocations: 476.8 MB / 0.7715 GB, free: 3.832 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.22 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3367, allocations: 170 MB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002907/0.3396, allocations: 1.581 MB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.3413, allocations: 0.8198 MB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.3413, allocations: 0 / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.99e-05/0.3414, allocations: 11.86 kB / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.849e-05/0.3414, allocations: 19.75 kB / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.3421, allocations: 175.5 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.3423, allocations: 147.5 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.961e-05/0.3424, allocations: 17.58 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.3426, allocations: 63.81 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.3427, allocations: 71.73 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.3428, allocations: 12 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.3431, allocations: 151.7 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.3431, allocations: 27.91 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.3432, allocations: 47.77 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.3435, allocations: 204.5 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3435, allocations: 4 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3435, allocations: 0 / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.3435, allocations: 0 / 1.287 GB, free: 7.227 MB / 0.9825 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.0007885/0.3443, allocations: 417 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3444, allocations: 8.031 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.21e-05/0.3444, allocations: 8.188 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.3444, allocations: 38.73 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006891/0.3451, allocations: 76.73 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.3454, allocations: 150.3 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.3454, allocations: 4.375 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.3454, allocations: 8.375 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.3457, allocations: 93.56 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3457, allocations: 4 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.3457, allocations: 4 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3457, allocations: 7.938 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.3459, allocations: 55.95 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/0.3468, allocations: 327.7 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.347, allocations: 66.55 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.3471, allocations: 52.78 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3471, allocations: 0 / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.3474, allocations: 103.3 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3474, allocations: 0 / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006532/0.348, allocations: 217.5 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.3481, allocations: 63.41 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3483, allocations: 148.7 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.3483, allocations: 29.7 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9e-05/0.3484, allocations: 100.5 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.3484, allocations: 23.8 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-05/0.3485, allocations: 29.7 kB / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.3487, allocations: 326.8 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.3488, allocations: 39.97 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.349, allocations: 80.2 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.3493, allocations: 112.2 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3493, allocations: 0 / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003571/0.3496, allocations: 149.5 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.3497, allocations: 8.078 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.3497, allocations: 4 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.3497, allocations: 7.938 kB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.3499, allocations: 19.98 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.3499, allocations: 4 kB / 1.29 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.35, allocations: 11.89 kB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.35, allocations: 11.92 kB / 1.29 GB, free: 4.23 MB / 0.9825 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.0001436/0.3502, allocations: 125.8 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.3502, allocations: 7.953 kB / 1.29 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.3502, allocations: 16.72 kB / 1.29 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3502, allocations: 4.047 kB / 1.29 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3502, allocations: 4 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3502, allocations: 0 / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007339/0.351, allocations: 437.9 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.351, allocations: 0 / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.351, allocations: 7.984 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.351, allocations: 0 / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.3511, allocations: 4 kB / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.3511, allocations: 7.938 kB / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3511, allocations: 0 / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004606/0.3515, allocations: 283.3 kB / 1.291 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.3515, allocations: 15.91 kB / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.3516, allocations: 0 / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.3517, allocations: 15.92 kB / 1.291 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.3518, allocations: 7.984 kB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.3518, allocations: 4 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.414e-05/0.3519, allocations: 112.3 kB / 1.291 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3519, allocations: 4 kB / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003646/0.3522, allocations: 43.88 kB / 1.291 GB, free: 3.078 MB / 0.9825 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.001196/0.3534, allocations: 0.8699 MB / 1.292 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003734/0.3538, allocations: 111.9 kB / 1.292 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3538, allocations: 0 / 1.292 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.354, allocations: 51.91 kB / 1.292 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.3543, allocations: 23.86 kB / 1.292 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.3566, allocations: 1.725 MB / 1.294 GB, free: 196 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.892e-05/0.3566, allocations: 84.19 kB / 1.294 GB, free: 92 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.435e-05/0.3567, allocations: 8.672 kB / 1.294 GB, free: 84 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.3568, allocations: 31.42 kB / 1.294 GB, free: 52 kB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.3568, allocations: 0 / 1.294 GB, free: 52 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.3841, allocations: 3.731 MB / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.08, allocations: 10.97 kB / 1.298 GB, free: 12.48 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.895364334923215] Failed to read output from testmodel.py, exit status != 0: 12.773286137962714 12.278760503 11.929312706 Calling exit ...