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.001385/0.001385, allocations: 118.2 kB / 17.17 MB, free: 6 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.001534/0.001534, allocations: 211.3 kB / 20.13 MB, free: 3.055 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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.778/2.778, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 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.002047/0.002047, allocations: 69.78 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9734/0.9754, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004424/0.9798, allocations: 2.24 MB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2138/1.194, allocations: 153.9 MB / 1.431 GB, free: 15.84 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003041/1.194, allocations: 11.88 kB / 1.431 GB, free: 15.83 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/1.195, allocations: 0.7756 MB / 1.432 GB, free: 15.05 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0009043/1.196, allocations: 0.522 MB / 1.433 GB, free: 14.53 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008703/1.197, allocations: 338.7 kB / 1.433 GB, free: 14.2 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0006965/1.198, allocations: 0.5888 MB / 1.434 GB, free: 13.61 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/1.198, allocations: 56.7 kB / 1.434 GB, free: 13.55 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/1.199, allocations: 387 kB / 1.434 GB, free: 13.19 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005923/1.2, allocations: 0.5308 MB / 1.435 GB, free: 12.66 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.2e-05/1.2, allocations: 24 kB / 1.435 GB, free: 12.64 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006231/1.2, allocations: 303.6 kB / 1.435 GB, free: 12.34 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001846/1.2, allocations: 195.6 kB / 1.435 GB, free: 12.15 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002404/1.201, allocations: 265.9 kB / 1.435 GB, free: 11.89 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/1.202, allocations: 0.7582 MB / 1.436 GB, free: 11.12 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.202, allocations: 0 / 1.436 GB, free: 11.12 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.562e-06/1.202, allocations: 4 kB / 1.436 GB, free: 11.12 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.428e-05/1.202, allocations: 4 kB / 1.436 GB, free: 11.12 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.001902/1.204, allocations: 1.119 MB / 1.437 GB, free: 9.945 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.204, allocations: 12.03 kB / 1.437 GB, free: 9.934 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.011e-05/1.204, allocations: 4.375 kB / 1.437 GB, free: 9.93 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.671e-05/1.204, allocations: 50.55 kB / 1.437 GB, free: 9.871 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/1.205, allocations: 215.2 kB / 1.437 GB, free: 9.66 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000744/1.206, allocations: 0.5034 MB / 1.438 GB, free: 9.113 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/1.206, allocations: 20.36 kB / 1.438 GB, free: 9.094 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/1.206, allocations: 20 kB / 1.438 GB, free: 9.074 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/1.207, allocations: 334.1 kB / 1.438 GB, free: 8.734 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/1.207, allocations: 0 / 1.438 GB, free: 8.734 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/1.207, allocations: 8 kB / 1.438 GB, free: 8.727 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/1.207, allocations: 8 kB / 1.438 GB, free: 8.719 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/1.209, allocations: 340.6 kB / 1.439 GB, free: 8.387 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/1.211, allocations: 1.116 MB / 1.44 GB, free: 7.215 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/1.212, allocations: 389.2 kB / 1.44 GB, free: 6.816 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007058/1.213, allocations: 201.5 kB / 1.44 GB, free: 6.613 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.71e-05/1.213, allocations: 4 kB / 1.44 GB, free: 6.609 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008723/1.214, allocations: 294.6 kB / 1.44 GB, free: 6.305 MB / 1.123 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/1.214, allocations: 0 / 1.44 GB, free: 6.305 MB / 1.123 GB Notification: Performance of matching and sorting (n=30): time 0.009056/1.223, allocations: 1.223 MB / 1.442 GB, free: 5.055 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/1.223, allocations: 81.11 kB / 1.442 GB, free: 4.957 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/1.224, allocations: 1.361 MB / 1.443 GB, free: 3.586 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/1.224, allocations: 41.69 kB / 1.443 GB, free: 3.539 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/1.225, allocations: 372.5 kB / 1.443 GB, free: 3.172 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/1.225, allocations: 107.2 kB / 1.444 GB, free: 3.066 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/1.225, allocations: 69.66 kB / 1.444 GB, free: 2.992 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.225, allocations: 321.9 kB / 1.444 GB, free: 2.672 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006819/1.226, allocations: 175.7 kB / 1.444 GB, free: 2.5 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007198/1.227, allocations: 229.9 kB / 1.444 GB, free: 2.254 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/1.228, allocations: 393.8 kB / 1.445 GB, free: 1.855 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.228, allocations: 0 / 1.445 GB, free: 1.855 MB / 1.123 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004136/1.232, allocations: 0.7161 MB / 1.445 GB, free: 1.129 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/1.232, allocations: 10.34 kB / 1.445 GB, free: 1.121 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.232, allocations: 8 kB / 1.445 GB, free: 1.113 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/1.233, allocations: 176.6 kB / 1.446 GB, free: 0.9375 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/1.234, allocations: 59.91 kB / 1.446 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008391/1.242, allocations: 2.299 MB / 1.448 GB, free: 14.44 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/1.243, allocations: 39.92 kB / 1.448 GB, free: 14.4 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/1.243, allocations: 15.98 kB / 1.448 GB, free: 14.38 MB / 1.139 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.0005108/1.243, allocations: 297.7 kB / 1.448 GB, free: 14.08 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/1.243, allocations: 95.31 kB / 1.448 GB, free: 13.99 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004241/1.248, allocations: 0.7584 MB / 1.449 GB, free: 13.22 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/1.248, allocations: 7.984 kB / 1.449 GB, free: 13.21 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/1.248, allocations: 0 / 1.449 GB, free: 13.21 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/1.248, allocations: 3.984 kB / 1.449 GB, free: 13.21 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007842/1.248, allocations: 0.5781 MB / 1.45 GB, free: 12.58 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.248, allocations: 4.062 kB / 1.45 GB, free: 12.57 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/1.249, allocations: 55.91 kB / 1.45 GB, free: 12.52 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009851/1.25, allocations: 168.7 kB / 1.45 GB, free: 12.35 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/1.25, allocations: 19.97 kB / 1.45 GB, free: 12.33 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007714/1.258, allocations: 2.288 MB / 1.452 GB, free: 9.898 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.258, allocations: 0 / 1.452 GB, free: 9.898 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004047/1.262, allocations: 0.7633 MB / 1.453 GB, free: 9.109 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/1.262, allocations: 156.4 kB / 1.453 GB, free: 8.938 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.738e-05/1.262, allocations: 8 kB / 1.453 GB, free: 8.93 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/1.262, allocations: 31.97 kB / 1.453 GB, free: 8.898 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/1.262, allocations: 27.91 kB / 1.453 GB, free: 8.871 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/1.262, allocations: 11.98 kB / 1.453 GB, free: 8.859 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001111/1.263, allocations: 1.022 MB / 1.454 GB, free: 7.84 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.263, allocations: 0 / 1.454 GB, free: 7.84 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005004/1.264, allocations: 115.8 kB / 1.454 GB, free: 7.727 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.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * 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.006036/1.27, allocations: 1.635 MB / 1.456 GB, free: 6.215 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001963/1.272, allocations: 0.5341 MB / 1.456 GB, free: 5.668 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.272, allocations: 0 / 1.456 GB, free: 5.668 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/1.273, allocations: 346.4 kB / 1.457 GB, free: 5.316 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/1.274, allocations: 135.8 kB / 1.457 GB, free: 5.191 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/1.289, allocations: 6.376 MB / 1.463 GB, free: 14.64 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/1.29, allocations: 0.9801 MB / 1.464 GB, free: 13.63 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003851/1.291, allocations: 82.88 kB / 1.464 GB, free: 13.55 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/1.291, allocations: 275.3 kB / 1.464 GB, free: 13.29 MB / 1.154 GB Notification: Performance of SimCode: time 1.353e-06/1.291, allocations: 0 / 1.464 GB, free: 13.29 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04651/1.337, allocations: 18.24 MB / 1.482 GB, free: 11.23 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.96, allocations: 9.156 kB / 1.482 GB, free: 11.22 MB / 1.17 GB " [Timeout remaining time 285] (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: 21.11953123199055] Failed to read output from testmodel.py, exit status != 0: 15.17771012702724 15.19208265 13.987454698 Calling exit ...