Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001228/0.001228, 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.001398/0.001398, allocations: 220.7 kB / 23.03 MB, free: 4.941 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.2/3.2, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_12_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.002043/0.002043, allocations: 65.28 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3798, allocations: 176.1 MB / 1.327 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003974/0.3838, allocations: 2.128 MB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.177/0.5607, allocations: 132.3 MB / 1.458 GB, free: 10.6 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.561, allocations: 3.938 kB / 1.458 GB, free: 10.59 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.5621, allocations: 0.7757 MB / 1.459 GB, free: 9.816 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.5631, allocations: 0.5297 MB / 1.459 GB, free: 9.285 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009808/0.5641, allocations: 338.7 kB / 1.459 GB, free: 8.953 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001073/0.5652, allocations: 0.5849 MB / 1.46 GB, free: 8.363 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.5654, allocations: 64.81 kB / 1.46 GB, free: 8.301 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.5671, allocations: 363.8 kB / 1.46 GB, free: 7.957 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008356/0.5679, allocations: 0.5347 MB / 1.461 GB, free: 7.422 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 7.337e-05/0.568, allocations: 24 kB / 1.461 GB, free: 7.398 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.5687, allocations: 299.6 kB / 1.461 GB, free: 7.105 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002439/0.5689, allocations: 199.5 kB / 1.461 GB, free: 6.91 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.5691, allocations: 198.4 kB / 1.462 GB, free: 6.715 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.5703, allocations: 0.7661 MB / 1.462 GB, free: 5.945 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5703, allocations: 0 / 1.462 GB, free: 5.945 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5703, allocations: 0 / 1.462 GB, free: 5.945 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.5703, allocations: 0 / 1.462 GB, free: 5.945 MB / 1.154 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.001817/0.5721, allocations: 1.043 MB / 1.463 GB, free: 4.867 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.5722, allocations: 8.031 kB / 1.463 GB, free: 4.859 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.154e-05/0.5722, allocations: 8.375 kB / 1.463 GB, free: 4.852 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.526e-05/0.5723, allocations: 54.55 kB / 1.463 GB, free: 4.789 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.5742, allocations: 223.2 kB / 1.464 GB, free: 4.57 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006568/0.5749, allocations: 433.3 kB / 1.464 GB, free: 4.117 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.5749, allocations: 12.38 kB / 1.464 GB, free: 4.105 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.725e-05/0.575, allocations: 20 kB / 1.464 GB, free: 4.086 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.576, allocations: 346.8 kB / 1.464 GB, free: 3.73 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.576, allocations: 0 / 1.464 GB, free: 3.73 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.576, allocations: 8 kB / 1.464 GB, free: 3.723 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.576, allocations: 4 kB / 1.464 GB, free: 3.719 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.5775, allocations: 368.6 kB / 1.465 GB, free: 3.359 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.5798, allocations: 1.049 MB / 1.466 GB, free: 2.262 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.5811, allocations: 395.2 kB / 1.466 GB, free: 1.859 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007395/0.5819, allocations: 205.4 kB / 1.466 GB, free: 1.652 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.5819, allocations: 7.938 kB / 1.466 GB, free: 1.645 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009335/0.5828, allocations: 308.8 kB / 1.467 GB, free: 1.324 MB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.5828, allocations: 0 / 1.467 GB, free: 1.324 MB / 1.154 GB Notification: Performance of matching and sorting (n=30): time 0.009903/0.5927, allocations: 1.173 MB / 1.468 GB, free: 144 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.5928, allocations: 81.11 kB / 1.468 GB, free: 44 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.5945, allocations: 1.384 MB / 1.469 GB, free: 14.65 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.5945, allocations: 33.7 kB / 1.469 GB, free: 14.61 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/0.5949, allocations: 372.5 kB / 1.47 GB, free: 14.24 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.595, allocations: 103.1 kB / 1.47 GB, free: 14.14 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.5951, allocations: 73.61 kB / 1.47 GB, free: 14.06 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5953, allocations: 325.8 kB / 1.47 GB, free: 13.74 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000695/0.596, allocations: 183.7 kB / 1.47 GB, free: 13.56 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008051/0.5968, allocations: 285.3 kB / 1.471 GB, free: 13.25 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.5982, allocations: 408.2 kB / 1.471 GB, free: 12.84 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5982, allocations: 0 / 1.471 GB, free: 12.84 MB / 1.17 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004478/0.6027, allocations: 0.7278 MB / 1.472 GB, free: 12.1 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.6027, allocations: 4 kB / 1.472 GB, free: 12.09 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.6027, allocations: 320 / 1.472 GB, free: 12.09 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.6039, allocations: 184.7 kB / 1.472 GB, free: 11.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.6042, allocations: 63.91 kB / 1.472 GB, free: 11.85 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008971/0.6132, allocations: 2.186 MB / 1.474 GB, free: 9.551 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006372/0.6138, allocations: 43.86 kB / 1.474 GB, free: 9.508 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.6139, allocations: 15.98 kB / 1.474 GB, free: 9.492 MB / 1.17 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.0004677/0.6144, allocations: 306.6 kB / 1.474 GB, free: 9.184 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.6145, allocations: 91.33 kB / 1.475 GB, free: 9.094 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00486/0.6194, allocations: 0.853 MB / 1.475 GB, free: 8.227 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.6194, allocations: 4 kB / 1.475 GB, free: 8.223 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.6194, allocations: 0 / 1.475 GB, free: 8.223 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6194, allocations: 0 / 1.475 GB, free: 8.223 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007021/0.6201, allocations: 0.53 MB / 1.476 GB, free: 7.648 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6201, allocations: 0 / 1.476 GB, free: 7.648 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003504/0.6204, allocations: 63.89 kB / 1.476 GB, free: 7.586 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/0.6215, allocations: 172.7 kB / 1.476 GB, free: 7.414 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/0.6216, allocations: 15.97 kB / 1.476 GB, free: 7.398 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00833/0.6299, allocations: 2.173 MB / 1.478 GB, free: 5.109 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6299, allocations: 3.938 kB / 1.478 GB, free: 5.105 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004578/0.6345, allocations: 0.8109 MB / 1.479 GB, free: 4.27 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.6346, allocations: 91.23 kB / 1.479 GB, free: 4.18 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.761e-05/0.6347, allocations: 8 kB / 1.479 GB, free: 4.172 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.6352, allocations: 27.97 kB / 1.479 GB, free: 4.145 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/0.6353, allocations: 27.95 kB / 1.479 GB, free: 4.117 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/0.6353, allocations: 19.98 kB / 1.479 GB, free: 4.098 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001348/0.6367, allocations: 1.034 MB / 1.48 GB, free: 3.066 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6367, allocations: 0 / 1.48 GB, free: 3.066 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005539/0.6372, allocations: 123.8 kB / 1.48 GB, free: 2.945 MB / 1.17 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.006695/0.6439, allocations: 1.712 MB / 1.482 GB, free: 1.387 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002056/0.646, allocations: 0.5608 MB / 1.483 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.646, allocations: 0 / 1.483 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.6471, allocations: 358.4 kB / 1.483 GB, free: 460 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007467/0.6479, allocations: 114.9 kB / 1.483 GB, free: 352 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/0.6651, allocations: 6.478 MB / 1.489 GB, free: 9.688 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.6655, allocations: 380.1 kB / 1.49 GB, free: 9.293 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004142/0.6659, allocations: 98.84 kB / 1.49 GB, free: 9.199 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/0.6663, allocations: 259.3 kB / 1.49 GB, free: 8.945 MB / 1.186 GB Notification: Performance of SimCode: time 9.52e-07/0.6663, allocations: 0 / 1.49 GB, free: 8.945 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04991/0.7163, allocations: 19.45 MB / 1.509 GB, free: 5.719 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.39, allocations: 8.531 kB / 1.509 GB, free: 5.715 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --stepSize=0.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 22.186914464924484] Failed to read output from testmodel.py, exit status != 0: 15.632676477078348 15.654802017 15.080300976 Calling exit ...