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.001429/0.001429, allocations: 105.4 kB / 15.7 MB, free: 24 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.001655/0.001654, allocations: 189.3 kB / 16.64 MB, free: 6.594 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.367/1.367, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.675/1.675, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001468/0.001468, allocations: 76.41 kB / 0.6718 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2304, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003381/0.2339, allocations: 2.204 MB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5953/0.8292, allocations: 150.4 MB / 0.9327 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.8294, allocations: 3.125 kB / 0.9327 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008552/0.8302, allocations: 0.7858 MB / 0.9335 GB, free: 2.82 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.0005425/0.8308, allocations: 494 kB / 0.9339 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007218/0.8316, allocations: 365.2 kB / 0.9343 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.832, allocations: 0.5658 MB / 0.9348 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.8322, allocations: 81.83 kB / 0.9349 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.8334, allocations: 364.8 kB / 0.9352 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/0.834, allocations: 474.4 kB / 0.9357 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.932e-05/0.8341, allocations: 27.84 kB / 0.9357 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006793/0.8348, allocations: 305.5 kB / 0.936 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.835, allocations: 186.1 kB / 0.9362 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002438/0.8352, allocations: 262.8 kB / 0.9364 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008183/0.8361, allocations: 0.7387 MB / 0.9372 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8361, allocations: 0 / 0.9372 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8361, allocations: 0.5938 kB / 0.9372 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.006e-06/0.8361, allocations: 0 / 0.9372 GB, free: 2.531 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.001625/0.8377, allocations: 1.075 MB / 0.9382 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.8378, allocations: 12.08 kB / 0.9382 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.229e-05/0.8379, allocations: 58.81 kB / 0.9383 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.8393, allocations: 196.2 kB / 0.9385 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005962/0.8399, allocations: 492.2 kB / 0.9389 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.8399, allocations: 18.45 kB / 0.939 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.84, allocations: 16.28 kB / 0.939 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008644/0.8409, allocations: 333 kB / 0.9393 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.8409, allocations: 0 / 0.9393 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.8409, allocations: 16.44 kB / 0.9393 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.8409, allocations: 4.25 kB / 0.9393 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.8422, allocations: 335.5 kB / 0.9396 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.8443, allocations: 1.116 MB / 0.9407 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.8454, allocations: 398.7 kB / 0.9411 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000623/0.846, allocations: 206.7 kB / 0.9413 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.8461, allocations: 10.97 kB / 0.9413 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007853/0.8469, allocations: 314.5 kB / 0.9416 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.634e-06/0.8469, allocations: 0 / 0.9416 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.008479/0.8554, allocations: 1.223 MB / 0.9428 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.8555, allocations: 87.58 kB / 0.9429 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.8569, allocations: 1.339 MB / 0.9442 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.8569, allocations: 34.92 kB / 0.9442 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.8572, allocations: 367.8 kB / 0.9446 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.869e-05/0.8572, allocations: 95.62 kB / 0.9447 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.8574, allocations: 65.97 kB / 0.9447 GB, free: 16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.8575, allocations: 317.7 kB / 0.945 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005883/0.8581, allocations: 172.7 kB / 0.9452 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006177/0.8587, allocations: 235.7 kB / 0.9454 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.8598, allocations: 401.6 kB / 0.9458 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8599, allocations: 4.875 kB / 0.9458 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00352/0.8634, allocations: 0.7162 MB / 0.9465 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.8634, allocations: 6.125 kB / 0.9465 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8634, allocations: 1.25 kB / 0.9465 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009312/0.8644, allocations: 179.6 kB / 0.9467 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.8647, allocations: 61.39 kB / 0.9467 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007002/0.8717, allocations: 2.3 MB / 0.949 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004433/0.8721, allocations: 38.53 kB / 0.949 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.8722, allocations: 17.73 kB / 0.949 GB, free: 14 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.0003555/0.8726, allocations: 301.4 kB / 0.9493 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.8727, allocations: 86.28 kB / 0.9494 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/0.8764, allocations: 0.7391 MB / 0.9501 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.8764, allocations: 4.188 kB / 0.9501 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8764, allocations: 1.188 kB / 0.9501 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.8765, allocations: 1.734 kB / 0.9501 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006235/0.8771, allocations: 0.5699 MB / 0.9507 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.8771, allocations: 0 / 0.9507 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.8774, allocations: 48.03 kB / 0.9507 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008908/0.8783, allocations: 182 kB / 0.9509 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.8783, allocations: 14.25 kB / 0.9509 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006936/0.8853, allocations: 2.298 MB / 0.9532 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8853, allocations: 3.938 kB / 0.9532 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003684/0.889, allocations: 0.7538 MB / 0.9539 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.8891, allocations: 153.3 kB / 0.9541 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.8892, allocations: 14.09 kB / 0.9541 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.8896, allocations: 23.73 kB / 0.9541 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.907e-05/0.8897, allocations: 24.72 kB / 0.9541 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.866e-05/0.8897, allocations: 16.94 kB / 0.9541 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001144/0.8909, allocations: 1.002 MB / 0.9551 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.71e-07/0.8909, allocations: 0 / 0.9551 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005613/0.8915, allocations: 111.8 kB / 0.9552 GB, free: 11.72 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.004862/0.8963, allocations: 1.634 MB / 0.9568 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001616/0.898, allocations: 0.5535 MB / 0.9574 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.898, allocations: 8 kB / 0.9574 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008345/0.8988, allocations: 362.3 kB / 0.9577 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.8995, allocations: 113.4 kB / 0.9578 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.9121, allocations: 6.315 MB / 0.964 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005351/0.9127, allocations: 0.9681 MB / 0.9649 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003094/0.913, allocations: 98.09 kB / 0.965 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.9133, allocations: 268.5 kB / 0.9653 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.9133, allocations: 0 / 0.9653 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03662/0.9499, allocations: 17.77 MB / 0.9826 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.62, allocations: 5 kB / 0.9827 GB, free: 15.4 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)