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.00174/0.00174, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002271/0.002271, allocations: 218.8 kB / 23.03 MB, free: 4.949 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.745/2.745, allocations: 476.8 MB / 0.7715 GB, free: 3.934 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.00208/0.00208, allocations: 59.92 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3247, allocations: 170 MB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003804/0.3285, allocations: 2.138 MB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1689/0.4974, allocations: 132.3 MB / 1.415 GB, free: 3.859 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.4977, allocations: 7.938 kB / 1.415 GB, free: 3.852 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.4988, allocations: 0.7795 MB / 1.416 GB, free: 3.07 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.4999, allocations: 0.5219 MB / 1.417 GB, free: 2.547 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.5009, allocations: 342.8 kB / 1.417 GB, free: 2.211 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0009048/0.5018, allocations: 0.5849 MB / 1.417 GB, free: 1.625 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.5021, allocations: 60.89 kB / 1.418 GB, free: 1.57 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.5035, allocations: 374.1 kB / 1.418 GB, free: 1.215 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008012/0.5043, allocations: 0.5308 MB / 1.418 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.5044, allocations: 24 kB / 1.418 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007059/0.5051, allocations: 299.6 kB / 1.419 GB, free: 376 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.5054, allocations: 191.7 kB / 1.419 GB, free: 184 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.5057, allocations: 198.4 kB / 1.419 GB, free: 15.98 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.5069, allocations: 0.7635 MB / 1.42 GB, free: 15.22 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.5069, allocations: 3.984 kB / 1.42 GB, free: 15.21 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5069, allocations: 0 / 1.42 GB, free: 15.21 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.969e-05/0.5069, allocations: 4 kB / 1.42 GB, free: 15.21 MB / 1.123 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.001999/0.5089, allocations: 1.043 MB / 1.421 GB, free: 14.13 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.509, allocations: 8.031 kB / 1.421 GB, free: 14.12 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.52e-05/0.509, allocations: 4.375 kB / 1.421 GB, free: 14.12 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.125e-05/0.5091, allocations: 58.53 kB / 1.421 GB, free: 14.05 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.511, allocations: 211.2 kB / 1.421 GB, free: 13.85 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007657/0.5117, allocations: 433.2 kB / 1.422 GB, free: 13.39 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.5118, allocations: 20.38 kB / 1.422 GB, free: 13.38 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.5118, allocations: 20 kB / 1.422 GB, free: 13.36 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.5129, allocations: 350.8 kB / 1.422 GB, free: 13 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.5129, allocations: 0 / 1.422 GB, free: 13 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.5129, allocations: 4 kB / 1.422 GB, free: 12.99 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.5129, allocations: 11.98 kB / 1.422 GB, free: 12.98 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.5144, allocations: 356.6 kB / 1.422 GB, free: 12.63 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.5168, allocations: 1.061 MB / 1.423 GB, free: 11.52 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.518, allocations: 401.2 kB / 1.424 GB, free: 11.11 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007202/0.5188, allocations: 209.5 kB / 1.424 GB, free: 10.9 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.5188, allocations: 4 kB / 1.424 GB, free: 10.89 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009179/0.5197, allocations: 314.6 kB / 1.424 GB, free: 10.57 MB / 1.123 GB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/0.5197, allocations: 0 / 1.424 GB, free: 10.57 MB / 1.123 GB Notification: Performance of matching and sorting (n=30): time 0.00943/0.5291, allocations: 1.167 MB / 1.425 GB, free: 9.395 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.5292, allocations: 81.11 kB / 1.425 GB, free: 9.297 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.5314, allocations: 1.388 MB / 1.427 GB, free: 7.898 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.513e-05/0.5314, allocations: 37.7 kB / 1.427 GB, free: 7.855 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.5318, allocations: 376.5 kB / 1.427 GB, free: 7.484 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.5319, allocations: 103.1 kB / 1.427 GB, free: 7.383 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.5321, allocations: 65.67 kB / 1.427 GB, free: 7.312 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5322, allocations: 321.9 kB / 1.428 GB, free: 6.992 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007012/0.5329, allocations: 183.7 kB / 1.428 GB, free: 6.812 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007623/0.5337, allocations: 285.3 kB / 1.428 GB, free: 6.5 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.5351, allocations: 407.5 kB / 1.428 GB, free: 6.09 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5351, allocations: 0 / 1.428 GB, free: 6.09 MB / 1.123 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004328/0.5394, allocations: 0.7357 MB / 1.429 GB, free: 5.344 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.5394, allocations: 8 kB / 1.429 GB, free: 5.336 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.5395, allocations: 0 / 1.429 GB, free: 5.336 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.5406, allocations: 176.7 kB / 1.429 GB, free: 5.16 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.541, allocations: 59.91 kB / 1.429 GB, free: 5.102 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008778/0.5497, allocations: 2.179 MB / 1.432 GB, free: 2.809 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006432/0.5504, allocations: 43.84 kB / 1.432 GB, free: 2.766 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.632e-05/0.5505, allocations: 16.3 kB / 1.432 GB, free: 2.75 MB / 1.123 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.000475/0.5509, allocations: 305.6 kB / 1.432 GB, free: 2.441 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.5511, allocations: 95.36 kB / 1.432 GB, free: 2.348 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004977/0.5561, allocations: 0.853 MB / 1.433 GB, free: 1.477 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.5561, allocations: 4 kB / 1.433 GB, free: 1.473 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5561, allocations: 3.938 kB / 1.433 GB, free: 1.469 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.5561, allocations: 4 kB / 1.433 GB, free: 1.465 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000822/0.5569, allocations: 0.5263 MB / 1.433 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5569, allocations: 0 / 1.433 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/0.5573, allocations: 63.91 kB / 1.433 GB, free: 0.8359 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/0.5584, allocations: 176.6 kB / 1.434 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.5584, allocations: 15.98 kB / 1.434 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008317/0.5667, allocations: 2.165 MB / 1.436 GB, free: 14.37 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5667, allocations: 4.062 kB / 1.436 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004532/0.5713, allocations: 0.8067 MB / 1.437 GB, free: 13.53 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.5715, allocations: 83.25 kB / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.5716, allocations: 12 kB / 1.437 GB, free: 13.44 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005127/0.5721, allocations: 27.97 kB / 1.437 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/0.5722, allocations: 23.95 kB / 1.437 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/0.5722, allocations: 15.98 kB / 1.437 GB, free: 13.37 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001273/0.5735, allocations: 1.042 MB / 1.438 GB, free: 12.33 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5735, allocations: 0 / 1.438 GB, free: 12.33 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005834/0.5741, allocations: 127.8 kB / 1.438 GB, free: 12.21 MB / 1.139 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 (38): * Single equations (assignments): 33 * 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.006585/0.5807, allocations: 1.703 MB / 1.439 GB, free: 10.66 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002018/0.5827, allocations: 0.553 MB / 1.44 GB, free: 10.09 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5827, allocations: 0 / 1.44 GB, free: 10.09 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.5838, allocations: 363 kB / 1.44 GB, free: 9.723 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007917/0.5846, allocations: 133.4 kB / 1.44 GB, free: 9.598 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/0.6014, allocations: 6.483 MB / 1.447 GB, free: 2.949 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.6019, allocations: 379.5 kB / 1.447 GB, free: 2.559 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000366/0.6022, allocations: 86.91 kB / 1.447 GB, free: 2.473 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004044/0.6026, allocations: 255.3 kB / 1.448 GB, free: 2.223 MB / 1.139 GB Notification: Performance of SimCode: time 9.22e-07/0.6026, allocations: 0 / 1.448 GB, free: 2.223 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05151/0.6541, allocations: 19.45 MB / 1.466 GB, free: 14.98 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.33, allocations: 7.312 kB / 1.467 GB, free: 14.98 MB / 1.17 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.271771921077743] Failed to read output from testmodel.py, exit status != 0: 16.262475286028348 15.604324188 15.09404716 Calling exit ...