Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.001846/0.001846, allocations: 97.31 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.002277/0.002277, allocations: 217 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.826/2.826, allocations: 476.8 MB / 0.7715 GB, free: 3.898 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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.002782/0.002782, allocations: 70.95 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3358, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.00314/0.3389, allocations: 1.629 MB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3405, allocations: 0.8353 MB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.321e-05/0.3406, allocations: 7.875 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.762e-05/0.3406, allocations: 15.86 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.879e-05/0.3407, allocations: 19.8 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006806/0.3414, allocations: 187.5 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.3416, allocations: 167.5 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3417, allocations: 17.28 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.3419, allocations: 67.84 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.342, allocations: 79.7 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.3421, allocations: 20 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.3424, allocations: 151.7 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.3424, allocations: 31.91 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.223e-05/0.3425, allocations: 55.75 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.3428, allocations: 220.4 kB / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3428, allocations: 0 / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3428, allocations: 0 / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.3428, allocations: 0 / 1.287 GB, free: 7.18 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008107/0.3436, allocations: 484.3 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3437, allocations: 16.03 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.345e-05/0.3437, allocations: 4.125 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.3437, allocations: 42.73 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007024/0.3444, allocations: 76.77 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.3447, allocations: 162.3 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.3447, allocations: 4.375 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.3448, allocations: 8.375 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/0.3452, allocations: 145.4 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3452, allocations: 0 / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3452, allocations: 0 / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3452, allocations: 8 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.3456, allocations: 103.8 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000731/0.3463, allocations: 327.7 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.3467, allocations: 98.5 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.347, allocations: 80.72 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.347, allocations: 8.109 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000384/0.3474, allocations: 139.2 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.3474, allocations: 0 / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.001089/0.3485, allocations: 309.3 kB / 1.289 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.3485, allocations: 55.41 kB / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.3487, allocations: 156.6 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.3487, allocations: 33.7 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.3488, allocations: 104.4 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.3488, allocations: 23.94 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.3489, allocations: 29.7 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.349, allocations: 330.8 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.3492, allocations: 39.97 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.3493, allocations: 91.05 kB / 1.29 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.3496, allocations: 121 kB / 1.29 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3496, allocations: 0 / 1.29 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003685/0.35, allocations: 161.5 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.35, allocations: 11.98 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.35, allocations: 0 / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.35, allocations: 0 / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.3502, allocations: 27.92 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3502, allocations: 384 / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.3503, allocations: 19.88 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.3503, allocations: 4 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001336/0.3504, allocations: 121.8 kB / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.3505, allocations: 15.92 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.205e-05/0.3505, allocations: 16.7 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.3505, allocations: 8 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3505, allocations: 0 / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.3505, allocations: 3.938 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3517, allocations: 493.3 kB / 1.291 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3517, allocations: 0 / 1.291 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.168e-05/0.3518, allocations: 15.92 kB / 1.291 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.3518, allocations: 0 / 1.291 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.3518, allocations: 15.92 kB / 1.291 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3518, allocations: 0 / 1.291 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3518, allocations: 0 / 1.291 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008675/0.3527, allocations: 335.3 kB / 1.292 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.3527, allocations: 15.84 kB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.3527, allocations: 3.938 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.3529, allocations: 23.97 kB / 1.292 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.353, allocations: 11.98 kB / 1.292 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.353, allocations: 7.984 kB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001003/0.3531, allocations: 114.8 kB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3531, allocations: 0 / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003811/0.3535, allocations: 47.88 kB / 1.292 GB, free: 2.465 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,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): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001498/0.355, allocations: 0.9319 MB / 1.293 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005465/0.3556, allocations: 155.7 kB / 1.293 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3556, allocations: 0 / 1.293 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.3559, allocations: 80.17 kB / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.3562, allocations: 8 kB / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.3587, allocations: 1.808 MB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.04e-05/0.3588, allocations: 89.05 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.835e-05/0.3589, allocations: 12.66 kB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.359, allocations: 35.42 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.359, allocations: 0 / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.3871, allocations: 3.834 MB / 1.299 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.15, allocations: 12.92 kB / 1.299 GB, free: 11.54 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.80972470191773] Failed to read output from testmodel.py, exit status != 0: 12.810035140952095 12.335424019 11.989426792 Calling exit ...