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.001334/0.001334, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001435/0.001435, allocations: 217.5 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.162/3.162, allocations: 0.49 GB / 0.7959 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] 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.003345/0.003345, allocations: 74.14 kB / 1.155 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3811, allocations: 176.1 MB / 1.327 GB, free: 2 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003878/0.385, allocations: 2.253 MB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1798/0.5648, allocations: 154 MB / 1.479 GB, free: 5.176 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.565, allocations: 7.938 kB / 1.479 GB, free: 5.168 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.566, allocations: 0.7678 MB / 1.48 GB, free: 4.398 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.000848/0.5668, allocations: 0.5258 MB / 1.48 GB, free: 3.871 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009414/0.5678, allocations: 350.6 kB / 1.481 GB, free: 3.527 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0006886/0.5685, allocations: 0.5887 MB / 1.481 GB, free: 2.934 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.5686, allocations: 60.88 kB / 1.481 GB, free: 2.875 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.5699, allocations: 375.4 kB / 1.482 GB, free: 2.52 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005971/0.5705, allocations: 0.5308 MB / 1.482 GB, free: 1.988 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/0.5705, allocations: 24 kB / 1.482 GB, free: 1.965 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005975/0.5711, allocations: 315.5 kB / 1.483 GB, free: 1.656 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.5713, allocations: 195.5 kB / 1.483 GB, free: 1.465 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.5716, allocations: 258 kB / 1.483 GB, free: 1.211 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.5727, allocations: 0.7622 MB / 1.484 GB, free: 456 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5728, allocations: 0 / 1.484 GB, free: 456 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5728, allocations: 0 / 1.484 GB, free: 456 kB / 1.17 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.5728, allocations: 3.938 kB / 1.484 GB, free: 452 kB / 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.001763/0.5745, allocations: 1.051 MB / 1.485 GB, free: 15.35 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.5746, allocations: 8.031 kB / 1.485 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.031e-05/0.5746, allocations: 8.375 kB / 1.485 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.122e-05/0.5746, allocations: 54.53 kB / 1.485 GB, free: 15.27 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.5763, allocations: 211.2 kB / 1.485 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007043/0.577, allocations: 448.3 kB / 1.486 GB, free: 14.6 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.577, allocations: 12.38 kB / 1.486 GB, free: 14.59 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.5771, allocations: 20 kB / 1.486 GB, free: 14.57 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009531/0.578, allocations: 337.9 kB / 1.486 GB, free: 14.22 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.578, allocations: 3.984 kB / 1.486 GB, free: 14.22 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.5781, allocations: 12 kB / 1.486 GB, free: 14.21 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.5781, allocations: 4 kB / 1.486 GB, free: 14.2 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.5794, allocations: 332.7 kB / 1.486 GB, free: 13.88 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.5817, allocations: 1.091 MB / 1.487 GB, free: 12.74 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.5828, allocations: 381.4 kB / 1.488 GB, free: 12.35 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007354/0.5836, allocations: 193.5 kB / 1.488 GB, free: 12.16 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.5836, allocations: 11.86 kB / 1.488 GB, free: 12.14 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008971/0.5845, allocations: 304.8 kB / 1.488 GB, free: 11.83 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 1.684e-06/0.5845, allocations: 0 / 1.488 GB, free: 11.83 MB / 1.186 GB Notification: Performance of matching and sorting (n=30): time 0.008918/0.5934, allocations: 1.145 MB / 1.489 GB, free: 10.67 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.5935, allocations: 85.11 kB / 1.489 GB, free: 10.57 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.595, allocations: 1.361 MB / 1.491 GB, free: 9.203 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.595, allocations: 33.7 kB / 1.491 GB, free: 9.164 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.5955, allocations: 376.5 kB / 1.491 GB, free: 8.793 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.5956, allocations: 103.2 kB / 1.491 GB, free: 8.691 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.5958, allocations: 65.67 kB / 1.491 GB, free: 8.621 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5959, allocations: 321.9 kB / 1.492 GB, free: 8.301 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006578/0.5966, allocations: 175.7 kB / 1.492 GB, free: 8.129 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000723/0.5973, allocations: 233.8 kB / 1.492 GB, free: 7.879 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.5986, allocations: 392.3 kB / 1.492 GB, free: 7.484 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5986, allocations: 0 / 1.492 GB, free: 7.484 MB / 1.186 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004076/0.6027, allocations: 0.72 MB / 1.493 GB, free: 6.754 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.6027, allocations: 9.406 kB / 1.493 GB, free: 6.746 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.6027, allocations: 4.062 kB / 1.493 GB, free: 6.742 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.6039, allocations: 176.6 kB / 1.493 GB, free: 6.566 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.6043, allocations: 59.91 kB / 1.493 GB, free: 6.508 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008288/0.6126, allocations: 2.202 MB / 1.495 GB, free: 4.191 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/0.6132, allocations: 43.86 kB / 1.495 GB, free: 4.148 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.6132, allocations: 19.98 kB / 1.495 GB, free: 4.129 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.0004053/0.6136, allocations: 294.7 kB / 1.496 GB, free: 3.832 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.6137, allocations: 91.33 kB / 1.496 GB, free: 3.742 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/0.618, allocations: 0.8251 MB / 1.497 GB, free: 2.902 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.618, allocations: 4 kB / 1.497 GB, free: 2.898 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.618, allocations: 0 / 1.497 GB, free: 2.898 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.618, allocations: 3.984 kB / 1.497 GB, free: 2.895 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006576/0.6187, allocations: 0.5535 MB / 1.497 GB, free: 2.297 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6187, allocations: 0 / 1.497 GB, free: 2.297 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.619, allocations: 56.03 kB / 1.497 GB, free: 2.242 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009748/0.6199, allocations: 172.7 kB / 1.497 GB, free: 2.07 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-05/0.62, allocations: 19.97 kB / 1.497 GB, free: 2.051 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007894/0.6279, allocations: 2.188 MB / 1.5 GB, free: 15.75 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.6279, allocations: 0 / 1.5 GB, free: 15.75 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004141/0.632, allocations: 0.7669 MB / 1.5 GB, free: 14.96 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.6322, allocations: 79.31 kB / 1.5 GB, free: 14.88 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-05/0.6322, allocations: 4 kB / 1.5 GB, free: 14.88 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.6327, allocations: 31.97 kB / 1.5 GB, free: 14.84 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.179e-05/0.6328, allocations: 23.95 kB / 1.5 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.206e-05/0.6328, allocations: 19.98 kB / 1.5 GB, free: 14.8 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001111/0.6339, allocations: 1.011 MB / 1.501 GB, free: 13.79 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6339, allocations: 0 / 1.501 GB, free: 13.79 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000538/0.6345, allocations: 119.9 kB / 1.502 GB, free: 13.68 MB / 1.201 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 (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.005932/0.6404, allocations: 1.634 MB / 1.503 GB, free: 12.17 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001822/0.6422, allocations: 0.5391 MB / 1.504 GB, free: 11.62 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6422, allocations: 0 / 1.504 GB, free: 11.62 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009654/0.6432, allocations: 342.4 kB / 1.504 GB, free: 11.27 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006789/0.6439, allocations: 130.8 kB / 1.504 GB, free: 11.15 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/0.6591, allocations: 6.381 MB / 1.51 GB, free: 4.586 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008022/0.6599, allocations: 0.9808 MB / 1.511 GB, free: 3.578 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003242/0.6602, allocations: 98.77 kB / 1.511 GB, free: 3.484 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/0.6606, allocations: 267.3 kB / 1.512 GB, free: 3.223 MB / 1.201 GB Notification: Performance of SimCode: time 7.32e-07/0.6606, allocations: 3.938 kB / 1.512 GB, free: 3.219 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04549/0.7061, allocations: 18.55 MB / 1.53 GB, free: 0.8281 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/15.61, allocations: 16.58 kB / 1.53 GB, free: 0.8203 MB / 1.217 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.504604611021932] Failed to read output from testmodel.py, exit status != 0: 15.84905009198701 15.871355602 15.294319799 Calling exit ...