Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.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.001644/0.001644, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002068/0.002068, allocations: 215.1 kB / 23.04 MB, free: 5.074 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.791/2.791, allocations: 476.7 MB / 0.7715 GB, free: 4.273 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.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE",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.002048/0.002048, allocations: 71.38 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3608, allocations: 169.9 MB / 1.284 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004375/0.3652, allocations: 2.265 MB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2094/0.5746, allocations: 154 MB / 1.437 GB, free: 14.8 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.5749, allocations: 7.938 kB / 1.437 GB, free: 14.79 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.5761, allocations: 0.7795 MB / 1.437 GB, free: 14.01 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0009732/0.5771, allocations: 0.518 MB / 1.438 GB, free: 13.49 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.5782, allocations: 346.8 kB / 1.438 GB, free: 13.15 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0008362/0.579, allocations: 0.581 MB / 1.439 GB, free: 12.57 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.5792, allocations: 60.83 kB / 1.439 GB, free: 12.52 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.5806, allocations: 387.7 kB / 1.439 GB, free: 12.15 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007186/0.5814, allocations: 0.5308 MB / 1.44 GB, free: 11.62 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.5814, allocations: 24 kB / 1.44 GB, free: 11.59 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000766/0.5822, allocations: 315.5 kB / 1.44 GB, free: 11.29 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.5824, allocations: 191.6 kB / 1.44 GB, free: 11.1 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.5827, allocations: 265.9 kB / 1.441 GB, free: 10.84 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.5838, allocations: 0.7583 MB / 1.441 GB, free: 10.07 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5839, allocations: 0 / 1.441 GB, free: 10.07 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5839, allocations: 0 / 1.441 GB, free: 10.07 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.5839, allocations: 0 / 1.441 GB, free: 10.07 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.002033/0.5859, allocations: 1.045 MB / 1.442 GB, free: 8.996 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.586, allocations: 8.031 kB / 1.442 GB, free: 8.988 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.39e-05/0.586, allocations: 8.312 kB / 1.442 GB, free: 8.98 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.318e-05/0.5861, allocations: 58.55 kB / 1.442 GB, free: 8.914 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.5878, allocations: 215.2 kB / 1.443 GB, free: 8.703 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00073/0.5885, allocations: 440.3 kB / 1.443 GB, free: 8.242 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.5886, allocations: 16.36 kB / 1.443 GB, free: 8.227 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.5886, allocations: 24 kB / 1.443 GB, free: 8.203 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000995/0.5896, allocations: 337.9 kB / 1.443 GB, free: 7.859 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5896, allocations: 0 / 1.443 GB, free: 7.859 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.5897, allocations: 11.94 kB / 1.443 GB, free: 7.848 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.5897, allocations: 4 kB / 1.443 GB, free: 7.844 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.591, allocations: 336.7 kB / 1.444 GB, free: 7.516 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.5933, allocations: 1.096 MB / 1.445 GB, free: 6.367 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.5945, allocations: 381.2 kB / 1.445 GB, free: 5.977 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006987/0.5952, allocations: 201.5 kB / 1.445 GB, free: 5.773 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 5.284e-05/0.5952, allocations: 15.98 kB / 1.445 GB, free: 5.758 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008756/0.5961, allocations: 298.5 kB / 1.446 GB, free: 5.449 MB / 1.139 GB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.5961, allocations: 0 / 1.446 GB, free: 5.449 MB / 1.139 GB Notification: Performance of matching and sorting (n=30): time 0.009019/0.6051, allocations: 1.148 MB / 1.447 GB, free: 4.293 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.6052, allocations: 81.11 kB / 1.447 GB, free: 4.195 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.607, allocations: 1.361 MB / 1.448 GB, free: 2.824 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/0.6071, allocations: 37.7 kB / 1.448 GB, free: 2.781 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004409/0.6075, allocations: 376.4 kB / 1.449 GB, free: 2.41 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.6077, allocations: 107.2 kB / 1.449 GB, free: 2.305 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.6078, allocations: 65.67 kB / 1.449 GB, free: 2.234 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.608, allocations: 325.9 kB / 1.449 GB, free: 1.91 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006572/0.6087, allocations: 167.7 kB / 1.449 GB, free: 1.746 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007117/0.6094, allocations: 237.8 kB / 1.449 GB, free: 1.492 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.6107, allocations: 395.5 kB / 1.45 GB, free: 1.094 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6107, allocations: 0 / 1.45 GB, free: 1.094 MB / 1.139 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004028/0.6148, allocations: 0.7122 MB / 1.45 GB, free: 380 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.6148, allocations: 8 kB / 1.45 GB, free: 372 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.6148, allocations: 0 / 1.45 GB, free: 372 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.6159, allocations: 176.7 kB / 1.451 GB, free: 192 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.6163, allocations: 67.89 kB / 1.451 GB, free: 124 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0082/0.6245, allocations: 2.204 MB / 1.453 GB, free: 13.8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006593/0.6251, allocations: 39.8 kB / 1.453 GB, free: 13.76 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.6252, allocations: 20.05 kB / 1.453 GB, free: 13.74 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000514/0.6257, allocations: 301.7 kB / 1.453 GB, free: 13.44 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.6258, allocations: 91.33 kB / 1.453 GB, free: 13.35 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004394/0.6302, allocations: 0.8086 MB / 1.454 GB, free: 12.52 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.6302, allocations: 4 kB / 1.454 GB, free: 12.52 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.6302, allocations: 4 kB / 1.454 GB, free: 12.52 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.6302, allocations: 3.984 kB / 1.454 GB, free: 12.51 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008622/0.6311, allocations: 0.5536 MB / 1.455 GB, free: 11.92 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.6311, allocations: 0 / 1.455 GB, free: 11.92 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.6314, allocations: 47.91 kB / 1.455 GB, free: 11.87 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.6324, allocations: 184.6 kB / 1.455 GB, free: 11.69 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/0.6325, allocations: 11.98 kB / 1.455 GB, free: 11.68 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007933/0.6404, allocations: 2.193 MB / 1.457 GB, free: 9.367 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6404, allocations: 0 / 1.457 GB, free: 9.367 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004304/0.6447, allocations: 0.7592 MB / 1.458 GB, free: 8.586 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.6449, allocations: 83.25 kB / 1.458 GB, free: 8.504 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.906e-05/0.645, allocations: 8 kB / 1.458 GB, free: 8.496 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/0.6455, allocations: 23.98 kB / 1.458 GB, free: 8.473 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.6456, allocations: 31.89 kB / 1.458 GB, free: 8.441 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-05/0.6456, allocations: 24.03 kB / 1.458 GB, free: 8.418 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001341/0.647, allocations: 1.014 MB / 1.459 GB, free: 7.406 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.647, allocations: 0 / 1.459 GB, free: 7.406 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006278/0.6476, allocations: 111.9 kB / 1.459 GB, free: 7.297 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006379/0.654, allocations: 1.634 MB / 1.461 GB, free: 5.789 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002125/0.6561, allocations: 0.534 MB / 1.461 GB, free: 5.242 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6561, allocations: 0 / 1.461 GB, free: 5.242 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.6572, allocations: 342.4 kB / 1.461 GB, free: 4.895 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/0.6581, allocations: 127 kB / 1.462 GB, free: 4.777 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.6747, allocations: 6.388 MB / 1.468 GB, free: 14.21 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/0.6754, allocations: 0.9762 MB / 1.469 GB, free: 13.21 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000386/0.6758, allocations: 94.83 kB / 1.469 GB, free: 13.12 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.6762, allocations: 271.3 kB / 1.469 GB, free: 12.86 MB / 1.17 GB Notification: Performance of SimCode: time 9.62e-07/0.6762, allocations: 0 / 1.469 GB, free: 12.86 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05861/0.7348, allocations: 18.55 MB / 1.487 GB, free: 10.47 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.94/15.68, allocations: 10.83 kB / 1.487 GB, free: 10.46 MB / 1.186 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --stepSize=0.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 22.599745372019242] Failed to read output from testmodel.py, exit status != 0: 16.452282388985623 15.957549679 15.367383646 Calling exit ...