Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001301/0.001301, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.001406/0.001406, allocations: 213.7 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.263/3.263, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_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.002038/0.002038, allocations: 70.17 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3314, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004139/0.3356, allocations: 2.26 MB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1818/0.5173, allocations: 154 MB / 1.498 GB, free: 3.629 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002615/0.5176, allocations: 7.875 kB / 1.498 GB, free: 3.621 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009978/0.5186, allocations: 0.7873 MB / 1.499 GB, free: 2.832 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0008329/0.5194, allocations: 0.5181 MB / 1.499 GB, free: 2.312 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009844/0.5204, allocations: 342.7 kB / 1.499 GB, free: 1.977 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008533/0.5213, allocations: 0.5849 MB / 1.5 GB, free: 1.387 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.5215, allocations: 56.89 kB / 1.5 GB, free: 1.332 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.5227, allocations: 387.2 kB / 1.5 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006185/0.5233, allocations: 0.5386 MB / 1.501 GB, free: 436 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.5234, allocations: 24 kB / 1.501 GB, free: 412 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000637/0.524, allocations: 299.6 kB / 1.501 GB, free: 112 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.5242, allocations: 195.8 kB / 1.501 GB, free: 15.91 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.5244, allocations: 261.9 kB / 1.502 GB, free: 15.66 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.5254, allocations: 0.7583 MB / 1.502 GB, free: 14.89 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.5254, allocations: 3.938 kB / 1.502 GB, free: 14.89 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5254, allocations: 0 / 1.502 GB, free: 14.89 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.5255, allocations: 0 / 1.502 GB, free: 14.89 MB / 1.201 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.001681/0.5271, allocations: 1.055 MB / 1.504 GB, free: 13.8 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.5272, allocations: 8.031 kB / 1.504 GB, free: 13.79 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.489e-05/0.5272, allocations: 4.375 kB / 1.504 GB, free: 13.79 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.792e-05/0.5272, allocations: 50.55 kB / 1.504 GB, free: 13.73 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.5291, allocations: 231.2 kB / 1.504 GB, free: 13.5 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006605/0.5298, allocations: 444.3 kB / 1.504 GB, free: 13.04 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.5298, allocations: 16.38 kB / 1.504 GB, free: 13.03 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.5298, allocations: 16 kB / 1.504 GB, free: 13.01 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009668/0.5308, allocations: 345.8 kB / 1.505 GB, free: 12.66 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.5308, allocations: 0 / 1.505 GB, free: 12.66 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.5309, allocations: 8 kB / 1.505 GB, free: 12.65 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.5309, allocations: 4 kB / 1.505 GB, free: 12.65 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.5322, allocations: 352.6 kB / 1.505 GB, free: 12.3 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.5345, allocations: 1.08 MB / 1.506 GB, free: 11.18 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.5357, allocations: 389 kB / 1.506 GB, free: 10.78 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007103/0.5364, allocations: 193.5 kB / 1.507 GB, free: 10.59 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/0.5365, allocations: 11.92 kB / 1.507 GB, free: 10.57 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008763/0.5373, allocations: 308.8 kB / 1.507 GB, free: 10.25 MB / 1.201 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.5373, allocations: 0 / 1.507 GB, free: 10.25 MB / 1.201 GB Notification: Performance of matching and sorting (n=30): time 0.009156/0.5465, allocations: 1.157 MB / 1.508 GB, free: 9.086 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.5466, allocations: 85.09 kB / 1.508 GB, free: 8.984 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.5481, allocations: 1.365 MB / 1.509 GB, free: 7.609 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.5482, allocations: 33.7 kB / 1.509 GB, free: 7.57 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.5485, allocations: 372.5 kB / 1.51 GB, free: 7.203 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.5486, allocations: 111.1 kB / 1.51 GB, free: 7.094 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.5488, allocations: 65.53 kB / 1.51 GB, free: 7.023 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5489, allocations: 321.9 kB / 1.51 GB, free: 6.703 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006737/0.5496, allocations: 179.9 kB / 1.51 GB, free: 6.527 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/0.5503, allocations: 229.9 kB / 1.511 GB, free: 6.281 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.5517, allocations: 392.1 kB / 1.511 GB, free: 5.883 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5517, allocations: 0 / 1.511 GB, free: 5.883 MB / 1.201 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004121/0.5558, allocations: 0.7247 MB / 1.512 GB, free: 5.148 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5558, allocations: 8 kB / 1.512 GB, free: 5.141 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.5558, allocations: 4.062 kB / 1.512 GB, free: 5.137 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.5569, allocations: 176.6 kB / 1.512 GB, free: 4.961 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.5573, allocations: 59.91 kB / 1.512 GB, free: 4.902 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008111/0.5654, allocations: 2.204 MB / 1.514 GB, free: 2.586 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005807/0.566, allocations: 43.88 kB / 1.514 GB, free: 2.543 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.566, allocations: 19.98 kB / 1.514 GB, free: 2.523 MB / 1.201 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.0004392/0.5664, allocations: 293.7 kB / 1.514 GB, free: 2.227 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.5666, allocations: 95.3 kB / 1.515 GB, free: 2.133 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00437/0.5709, allocations: 0.8134 MB / 1.515 GB, free: 1.309 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.571, allocations: 0 / 1.515 GB, free: 1.309 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.571, allocations: 4.125 kB / 1.515 GB, free: 1.305 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.571, allocations: 4 kB / 1.515 GB, free: 1.301 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.5716, allocations: 0.5535 MB / 1.516 GB, free: 0.7031 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5716, allocations: 0 / 1.516 GB, free: 0.7031 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.5719, allocations: 47.91 kB / 1.516 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.573, allocations: 184.6 kB / 1.516 GB, free: 484 kB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.5731, allocations: 15.97 kB / 1.516 GB, free: 468 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00809/0.5811, allocations: 2.189 MB / 1.518 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5811, allocations: 0 / 1.518 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004379/0.5855, allocations: 0.7634 MB / 1.519 GB, free: 13.36 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.5857, allocations: 71.38 kB / 1.519 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.5858, allocations: 19.92 kB / 1.519 GB, free: 13.27 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.5863, allocations: 23.98 kB / 1.519 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.5864, allocations: 23.95 kB / 1.519 GB, free: 13.22 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.5864, allocations: 11.98 kB / 1.519 GB, free: 13.21 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001203/0.5876, allocations: 1.022 MB / 1.52 GB, free: 12.2 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5876, allocations: 4 kB / 1.52 GB, free: 12.19 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005997/0.5882, allocations: 103.9 kB / 1.52 GB, free: 12.09 MB / 1.217 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 (31): * Single equations (assignments): 26 * 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.006185/0.5944, allocations: 1.648 MB / 1.522 GB, free: 10.57 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001891/0.5963, allocations: 0.5341 MB / 1.522 GB, free: 10.02 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.5963, allocations: 4 kB / 1.522 GB, free: 10.02 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009825/0.5973, allocations: 346.4 kB / 1.523 GB, free: 9.668 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007213/0.598, allocations: 125.9 kB / 1.523 GB, free: 9.551 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/0.6133, allocations: 6.411 MB / 1.529 GB, free: 2.969 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/0.6139, allocations: 0.9724 MB / 1.53 GB, free: 1.973 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003617/0.6143, allocations: 94.86 kB / 1.53 GB, free: 1.879 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.6147, allocations: 259.3 kB / 1.53 GB, free: 1.625 MB / 1.217 GB Notification: Performance of SimCode: time 1.142e-06/0.6147, allocations: 0 / 1.53 GB, free: 1.625 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04854/0.6632, allocations: 18.46 MB / 1.548 GB, free: 15.3 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.43, allocations: 9.734 kB / 1.548 GB, free: 15.3 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --stepSize=0.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 22.207460271019954] Failed to read output from testmodel.py, exit status != 0: 15.67288564494811 15.689322634 15.16057367 Calling exit ...