Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 195.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 292.3 MB / 0.5489 GB, free: 12.87 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 72.5 kB / 0.6716 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2404, allocations: 114.6 MB / 0.7835 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003436/0.2439, allocations: 2.192 MB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5786/0.8225, allocations: 150.4 MB / 0.9325 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.8227, allocations: 7.125 kB / 0.9325 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008246/0.8236, allocations: 0.7829 MB / 0.9333 GB, free: 2.684 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005398/0.8242, allocations: 495.2 kB / 0.9338 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007283/0.8249, allocations: 371.1 kB / 0.9341 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.8253, allocations: 0.5624 MB / 0.9347 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.8255, allocations: 81.22 kB / 0.9347 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009563/0.8265, allocations: 365.4 kB / 0.9351 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004438/0.8269, allocations: 479.3 kB / 0.9355 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.735e-05/0.827, allocations: 23.09 kB / 0.9356 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005383/0.8275, allocations: 299.1 kB / 0.9358 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.8277, allocations: 182.7 kB / 0.936 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.8279, allocations: 263.7 kB / 0.9363 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007776/0.8287, allocations: 0.7244 MB / 0.937 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8287, allocations: 0.5 kB / 0.937 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8287, allocations: 0 / 0.937 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.8287, allocations: 0.7188 kB / 0.937 GB, free: 2.398 MB / 0.7169 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.001634/0.8304, allocations: 1.081 MB / 0.938 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.8304, allocations: 12.53 kB / 0.938 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.632e-05/0.8305, allocations: 54.81 kB / 0.9381 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.832, allocations: 198.6 kB / 0.9383 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005328/0.8326, allocations: 486.5 kB / 0.9388 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.8326, allocations: 12.88 kB / 0.9388 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.8326, allocations: 18.81 kB / 0.9388 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000826/0.8335, allocations: 335.9 kB / 0.9391 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.8335, allocations: 0.9062 kB / 0.9391 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.8335, allocations: 13.09 kB / 0.9391 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.8336, allocations: 5.438 kB / 0.9391 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.8347, allocations: 335.8 kB / 0.9394 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.8367, allocations: 1.12 MB / 0.9405 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.8378, allocations: 402.2 kB / 0.9409 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005983/0.8384, allocations: 209.2 kB / 0.9411 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.29e-05/0.8384, allocations: 8.031 kB / 0.9411 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007434/0.8392, allocations: 309.9 kB / 0.9414 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.8392, allocations: 0 / 0.9414 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.008617/0.8478, allocations: 1.221 MB / 0.9426 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.8479, allocations: 80.33 kB / 0.9427 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.8494, allocations: 1.343 MB / 0.944 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/0.8494, allocations: 31.8 kB / 0.944 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/0.8498, allocations: 368 kB / 0.9444 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.125e-05/0.8499, allocations: 92.88 kB / 0.9445 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.85, allocations: 74.36 kB / 0.9445 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.8501, allocations: 317.6 kB / 0.9448 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006152/0.8508, allocations: 170.1 kB / 0.945 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.8514, allocations: 235.2 kB / 0.9452 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.8525, allocations: 401.5 kB / 0.9456 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8526, allocations: 3.938 kB / 0.9456 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00369/0.8563, allocations: 0.7162 MB / 0.9463 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.8563, allocations: 4.781 kB / 0.9463 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8563, allocations: 3.438 kB / 0.9463 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009629/0.8573, allocations: 179.3 kB / 0.9465 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.8576, allocations: 65.5 kB / 0.9466 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007186/0.8648, allocations: 2.297 MB / 0.9488 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006159/0.8654, allocations: 43.02 kB / 0.9488 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.8655, allocations: 18.72 kB / 0.9489 GB, free: 13.87 MB / 0.7325 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.0005865/0.8661, allocations: 288.3 kB / 0.9491 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.8662, allocations: 87.88 kB / 0.9492 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004013/0.8703, allocations: 0.7504 MB / 0.95 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.8703, allocations: 7.5 kB / 0.95 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.8703, allocations: 1.344 kB / 0.95 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.8703, allocations: 2.484 kB / 0.95 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006201/0.8709, allocations: 0.5681 MB / 0.9505 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.8709, allocations: 0 / 0.9505 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.8712, allocations: 50.61 kB / 0.9506 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009185/0.8721, allocations: 172.6 kB / 0.9507 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.291e-05/0.8722, allocations: 18.83 kB / 0.9508 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007112/0.8793, allocations: 2.291 MB / 0.953 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8793, allocations: 6.359 kB / 0.953 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/0.8831, allocations: 0.7549 MB / 0.9537 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.8833, allocations: 144 kB / 0.9539 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.587e-05/0.8834, allocations: 15.42 kB / 0.9539 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/0.8838, allocations: 32.53 kB / 0.9539 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.8839, allocations: 22.31 kB / 0.9539 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/0.884, allocations: 21.25 kB / 0.954 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001068/0.885, allocations: 0.998 MB / 0.9549 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.885, allocations: 0 / 0.9549 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000573/0.8856, allocations: 109.9 kB / 0.955 GB, free: 11.59 MB / 0.7325 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.004772/0.8904, allocations: 1.638 MB / 0.9566 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.8921, allocations: 0.5735 MB / 0.9572 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8921, allocations: 0 / 0.9572 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008827/0.893, allocations: 361.2 kB / 0.9575 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006287/0.8937, allocations: 135.9 kB / 0.9577 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.9074, allocations: 6.573 MB / 0.9641 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.908, allocations: 0.9655 MB / 0.965 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004155/0.9085, allocations: 88.02 kB / 0.9651 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/0.9087, allocations: 263 kB / 0.9654 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.9088, allocations: 0 / 0.9654 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/0.9463, allocations: 17.75 MB / 0.9827 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.67, allocations: 5.375 kB / 0.9827 GB, free: 14.91 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)