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.001849/0.001849, allocations: 97.88 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.002452/0.002452, allocations: 216.3 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.158/3.158, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 177] 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.003265/0.003265, allocations: 65.86 kB / 1.17 GB, free: 19.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.459, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004491/0.4635, allocations: 2.132 MB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1799/0.6434, allocations: 132.3 MB / 1.477 GB, free: 9.031 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.6437, allocations: 0 / 1.477 GB, free: 9.031 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.6448, allocations: 0.7834 MB / 1.477 GB, free: 8.246 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.6458, allocations: 0.5259 MB / 1.478 GB, free: 7.719 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009167/0.6468, allocations: 338.7 kB / 1.478 GB, free: 7.387 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007957/0.6476, allocations: 0.5888 MB / 1.479 GB, free: 6.793 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.6477, allocations: 56.89 kB / 1.479 GB, free: 6.738 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.6491, allocations: 376.8 kB / 1.479 GB, free: 6.383 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007/0.6498, allocations: 0.5347 MB / 1.48 GB, free: 5.848 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 7.215e-05/0.6498, allocations: 24 kB / 1.48 GB, free: 5.824 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000598/0.6504, allocations: 299.6 kB / 1.48 GB, free: 5.531 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.6507, allocations: 191.7 kB / 1.48 GB, free: 5.344 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.6509, allocations: 202.3 kB / 1.48 GB, free: 5.145 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.652, allocations: 0.7662 MB / 1.481 GB, free: 4.375 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.652, allocations: 3.938 kB / 1.481 GB, free: 4.371 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.593e-06/0.652, allocations: 0 / 1.481 GB, free: 4.371 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.6521, allocations: 0 / 1.481 GB, free: 4.371 MB / 1.17 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.001921/0.654, allocations: 1.035 MB / 1.482 GB, free: 3.301 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.654, allocations: 12.03 kB / 1.482 GB, free: 3.289 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.089e-05/0.6541, allocations: 12.38 kB / 1.482 GB, free: 3.277 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.726e-05/0.6541, allocations: 46.55 kB / 1.482 GB, free: 3.223 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.6562, allocations: 231.2 kB / 1.482 GB, free: 2.996 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006614/0.6568, allocations: 437.2 kB / 1.483 GB, free: 2.543 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.6569, allocations: 16.38 kB / 1.483 GB, free: 2.527 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.803e-05/0.6569, allocations: 20 kB / 1.483 GB, free: 2.508 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.658, allocations: 342.9 kB / 1.483 GB, free: 2.156 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.658, allocations: 4 kB / 1.483 GB, free: 2.152 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.658, allocations: 7.984 kB / 1.483 GB, free: 2.145 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.658, allocations: 8 kB / 1.483 GB, free: 2.137 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.6595, allocations: 360.6 kB / 1.484 GB, free: 1.785 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.6618, allocations: 1.045 MB / 1.485 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.6631, allocations: 417 kB / 1.485 GB, free: 276 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007212/0.6639, allocations: 201.5 kB / 1.485 GB, free: 68 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.6639, allocations: 7.938 kB / 1.485 GB, free: 60 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009688/0.6649, allocations: 324.8 kB / 1.485 GB, free: 15.72 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 2.284e-06/0.6649, allocations: 0 / 1.485 GB, free: 15.72 MB / 1.186 GB Notification: Performance of matching and sorting (n=30): time 0.009423/0.6743, allocations: 1.176 MB / 1.487 GB, free: 14.54 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.6744, allocations: 85.09 kB / 1.487 GB, free: 14.43 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/0.6765, allocations: 1.384 MB / 1.488 GB, free: 13.04 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.561e-05/0.6765, allocations: 33.7 kB / 1.488 GB, free: 13 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/0.6769, allocations: 372.5 kB / 1.488 GB, free: 12.63 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.6771, allocations: 103.2 kB / 1.489 GB, free: 12.53 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.6773, allocations: 65.67 kB / 1.489 GB, free: 12.46 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.6774, allocations: 321.9 kB / 1.489 GB, free: 12.14 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007001/0.6781, allocations: 187.7 kB / 1.489 GB, free: 11.96 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007802/0.6789, allocations: 281.3 kB / 1.489 GB, free: 11.65 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.6803, allocations: 413.2 kB / 1.49 GB, free: 11.23 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6803, allocations: 0 / 1.49 GB, free: 11.23 MB / 1.186 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004417/0.6848, allocations: 0.7473 MB / 1.49 GB, free: 10.47 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.6848, allocations: 5.406 kB / 1.49 GB, free: 10.47 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.6848, allocations: 4 kB / 1.49 GB, free: 10.46 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.686, allocations: 176.6 kB / 1.491 GB, free: 10.29 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.6864, allocations: 67.89 kB / 1.491 GB, free: 10.22 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008502/0.6949, allocations: 2.175 MB / 1.493 GB, free: 7.938 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006488/0.6956, allocations: 35.83 kB / 1.493 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.354e-05/0.6957, allocations: 23.97 kB / 1.493 GB, free: 7.879 MB / 1.186 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.0004744/0.6961, allocations: 297.7 kB / 1.493 GB, free: 7.578 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.6963, allocations: 91.38 kB / 1.493 GB, free: 7.488 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004732/0.701, allocations: 0.8491 MB / 1.494 GB, free: 6.621 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.7011, allocations: 7.984 kB / 1.494 GB, free: 6.613 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.7011, allocations: 0 / 1.494 GB, free: 6.613 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.7011, allocations: 3.984 kB / 1.494 GB, free: 6.609 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008426/0.7019, allocations: 0.5341 MB / 1.495 GB, free: 6.027 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.7019, allocations: 3.938 kB / 1.495 GB, free: 6.023 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003546/0.7023, allocations: 60.03 kB / 1.495 GB, free: 5.965 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.7033, allocations: 172.6 kB / 1.495 GB, free: 5.793 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.7034, allocations: 19.98 kB / 1.495 GB, free: 5.773 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008313/0.7117, allocations: 2.185 MB / 1.497 GB, free: 3.473 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7117, allocations: 0 / 1.497 GB, free: 3.473 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004516/0.7162, allocations: 0.7904 MB / 1.498 GB, free: 2.656 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.7164, allocations: 87.2 kB / 1.498 GB, free: 2.57 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.7165, allocations: 15.98 kB / 1.498 GB, free: 2.555 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004923/0.717, allocations: 19.98 kB / 1.498 GB, free: 2.535 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.7171, allocations: 35.88 kB / 1.498 GB, free: 2.5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/0.7172, allocations: 19.98 kB / 1.498 GB, free: 2.48 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001317/0.7185, allocations: 1.038 MB / 1.499 GB, free: 1.449 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.7185, allocations: 0 / 1.499 GB, free: 1.449 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006085/0.7191, allocations: 107.9 kB / 1.499 GB, free: 1.344 MB / 1.186 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 (37): * Single equations (assignments): 32 * 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.00637/0.7255, allocations: 1.7 MB / 1.501 GB, free: 15.79 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.7275, allocations: 0.5723 MB / 1.501 GB, free: 15.21 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7275, allocations: 4 kB / 1.501 GB, free: 15.2 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.7286, allocations: 359.2 kB / 1.502 GB, free: 14.84 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007292/0.7293, allocations: 128.5 kB / 1.502 GB, free: 14.72 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/0.7457, allocations: 6.493 MB / 1.508 GB, free: 8.051 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.7462, allocations: 380.1 kB / 1.508 GB, free: 7.66 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003807/0.7466, allocations: 82.94 kB / 1.509 GB, free: 7.578 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/0.747, allocations: 275.3 kB / 1.509 GB, free: 7.309 MB / 1.201 GB Notification: Performance of SimCode: time 1.132e-06/0.747, allocations: 0 / 1.509 GB, free: 7.309 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0525/0.7995, allocations: 19.34 MB / 1.528 GB, free: 4.16 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/15.72, allocations: 12.05 kB / 1.528 GB, free: 4.148 MB / 1.217 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.673563987016678] Failed to read output from testmodel.py, exit status != 0: 15.96419925102964 15.985550442 15.329115452 Calling exit ...