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.001182/0.001182, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.289/1.289, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.56/1.56, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001287/0.001287, allocations: 61.23 kB / 0.6711 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1707, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003205/0.1739, allocations: 2.254 MB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4422/0.6161, allocations: 148.2 MB / 0.9299 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.6163, allocations: 4.812 kB / 0.9299 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008703/0.6172, allocations: 0.7672 MB / 0.9307 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00065/0.6179, allocations: 478.4 kB / 0.9311 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000834/0.6187, allocations: 339.2 kB / 0.9315 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006755/0.6194, allocations: 0.5667 MB / 0.932 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.6196, allocations: 81.95 kB / 0.9321 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.6209, allocations: 357 kB / 0.9324 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004094/0.6213, allocations: 0.4897 MB / 0.9329 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.6214, allocations: 22.78 kB / 0.9329 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005015/0.6219, allocations: 307.9 kB / 0.9332 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.622, allocations: 197.1 kB / 0.9334 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.6222, allocations: 265.8 kB / 0.9337 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006521/0.6229, allocations: 0.7232 MB / 0.9344 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.6229, allocations: 0 / 0.9344 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6229, allocations: 0 / 0.9344 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.6229, allocations: 1.094 kB / 0.9344 GB, free: 5.875 MB / 0.7325 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.001432/0.6244, allocations: 1.078 MB / 0.9354 GB, free: 21.15 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.6244, allocations: 9.625 kB / 0.9354 GB, free: 21.15 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.49e-05/0.6245, allocations: 52.03 kB / 0.9355 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.626, allocations: 199.1 kB / 0.9357 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.6264, allocations: 487.6 kB / 0.9361 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.6264, allocations: 17.72 kB / 0.9362 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.6265, allocations: 17.12 kB / 0.9362 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008357/0.6273, allocations: 338.2 kB / 0.9365 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.6273, allocations: 0 / 0.9365 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.6274, allocations: 8.016 kB / 0.9365 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.6274, allocations: 9.625 kB / 0.9365 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.6286, allocations: 336.3 kB / 0.9368 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.6304, allocations: 1.119 MB / 0.9379 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.6314, allocations: 401.9 kB / 0.9383 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.632, allocations: 205.1 kB / 0.9385 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.6321, allocations: 12.22 kB / 0.9385 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007738/0.6328, allocations: 305.7 kB / 0.9388 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 2.545e-06/0.6329, allocations: 0 / 0.9388 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.008681/0.6415, allocations: 1.222 MB / 0.94 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.6416, allocations: 83 kB / 0.9401 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.6427, allocations: 1.34 MB / 0.9414 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.6428, allocations: 33.17 kB / 0.9414 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.643, allocations: 369.6 kB / 0.9418 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.697e-05/0.6431, allocations: 92.19 kB / 0.9419 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.6432, allocations: 71.91 kB / 0.9419 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.6433, allocations: 317.7 kB / 0.9422 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006208/0.6439, allocations: 173.3 kB / 0.9424 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.6445, allocations: 231.9 kB / 0.9426 GB, free: 19 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.6458, allocations: 398.8 kB / 0.943 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6458, allocations: 0.7188 kB / 0.943 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003902/0.6497, allocations: 0.7133 MB / 0.9437 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.6497, allocations: 5.938 kB / 0.9437 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.6498, allocations: 5.844 kB / 0.9437 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009704/0.6508, allocations: 185.1 kB / 0.9439 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.6511, allocations: 58.69 kB / 0.9439 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007147/0.6582, allocations: 2.3 MB / 0.9462 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.6587, allocations: 45.66 kB / 0.9462 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.6588, allocations: 17.7 kB / 0.9463 GB, free: 17.41 MB / 0.7481 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.0003502/0.6591, allocations: 297.6 kB / 0.9465 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-05/0.6592, allocations: 87 kB / 0.9466 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004235/0.6635, allocations: 0.7484 MB / 0.9473 GB, free: 17.17 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.6635, allocations: 3.531 kB / 0.9474 GB, free: 17.17 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.6635, allocations: 4.688 kB / 0.9474 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.6635, allocations: 5.516 kB / 0.9474 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006303/0.6641, allocations: 0.5644 MB / 0.9479 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.6641, allocations: 0.5625 kB / 0.9479 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.6644, allocations: 51.19 kB / 0.948 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009863/0.6654, allocations: 173.4 kB / 0.9481 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.6655, allocations: 14.61 kB / 0.9481 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007205/0.6727, allocations: 2.3 MB / 0.9504 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6727, allocations: 5.969 kB / 0.9504 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/0.6765, allocations: 0.7511 MB / 0.9511 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.6767, allocations: 144.8 kB / 0.9513 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/0.6768, allocations: 12.84 kB / 0.9513 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.6772, allocations: 33.59 kB / 0.9513 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.6772, allocations: 20.56 kB / 0.9513 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.6773, allocations: 17.89 kB / 0.9513 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000858/0.6782, allocations: 1.004 MB / 0.9523 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6782, allocations: 1.125 kB / 0.9523 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004489/0.6786, allocations: 106.6 kB / 0.9524 GB, free: 15.16 MB / 0.7481 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.004802/0.6834, allocations: 1.65 MB / 0.954 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.685, allocations: 0.5701 MB / 0.9546 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.685, allocations: 1.094 kB / 0.9546 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008613/0.6859, allocations: 361.7 kB / 0.9549 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.6865, allocations: 128.8 kB / 0.9551 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.6998, allocations: 6.724 MB / 0.9616 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.7003, allocations: 0.9706 MB / 0.9626 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003267/0.7006, allocations: 84.89 kB / 0.9627 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.7009, allocations: 265 kB / 0.9629 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.7009, allocations: 0 / 0.9629 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.008/2.709, allocations: 17.62 MB / 0.9801 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/2.709, allocations: 274.7 kB / 0.9804 GB, free: 6.422 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/5.254, allocations: 3.75 kB / 0.9804 GB, free: 6.422 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)