Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 176.8 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 0.5775 GB, free: 20.32 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008905/0.0008904, allocations: 94.16 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003604, allocations: 9.469 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2167, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002126/0.2189, allocations: 1.816 MB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1335/0.3525, allocations: 127.1 MB / 1.026 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.3528, allocations: 4 kB / 1.026 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009594/0.3538, allocations: 0.7252 MB / 1.027 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0008256/0.3546, allocations: 483 kB / 1.027 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.3557, allocations: 317.1 kB / 1.028 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.000494/0.3562, allocations: 383.8 kB / 1.028 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.3564, allocations: 56.72 kB / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000419/0.3568, allocations: 291.2 kB / 1.028 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004295/0.3572, allocations: 347.2 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.3573, allocations: 8 kB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000617/0.3579, allocations: 295.5 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.3581, allocations: 171.5 kB / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.3582, allocations: 121.3 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005543/0.3587, allocations: 0.5149 MB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3587, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.566e-06/0.3588, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.3588, allocations: 3.938 kB / 1.03 GB, free: 10.92 MB / 0.6823 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.001561/0.3603, allocations: 0.972 MB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3604, allocations: 8.031 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.276e-05/0.3605, allocations: 62.53 kB / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.362, allocations: 198.7 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006261/0.3626, allocations: 451.6 kB / 1.031 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.3627, allocations: 12.38 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.3627, allocations: 23.94 kB / 1.031 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009033/0.3636, allocations: 330.9 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3637, allocations: 0 / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.3637, allocations: 15.98 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.3637, allocations: 4 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.365, allocations: 336.7 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.3671, allocations: 1.116 MB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.3682, allocations: 393.4 kB / 1.033 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.818e-05/0.3682, allocations: 15.98 kB / 1.033 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007878/0.369, allocations: 292.8 kB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 2.354e-06/0.3691, allocations: 0 / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.008791/0.3779, allocations: 1.2 MB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.378, allocations: 81.11 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.3793, allocations: 1.345 MB / 1.036 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/0.3794, allocations: 37.7 kB / 1.036 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.3797, allocations: 360.5 kB / 1.037 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.978e-05/0.3798, allocations: 98.64 kB / 1.037 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.3798, allocations: 8 kB / 1.037 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3799, allocations: 325.9 kB / 1.037 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006023/0.3805, allocations: 163.9 kB / 1.037 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006251/0.3812, allocations: 237.7 kB / 1.037 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.3818, allocations: 176.2 kB / 1.038 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3818, allocations: 0 / 1.038 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004078/0.3859, allocations: 0.7164 MB / 1.038 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.386, allocations: 4 kB / 1.038 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.386, allocations: 0 / 1.038 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.3871, allocations: 180.7 kB / 1.039 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.3874, allocations: 63.91 kB / 1.039 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007901/0.3953, allocations: 2.179 MB / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006904/0.3961, allocations: 39.84 kB / 1.041 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.3961, allocations: 19.98 kB / 1.041 GB, free: 15.08 MB / 0.698 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 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004782/0.3966, allocations: 305.1 kB / 1.041 GB, free: 14.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.3967, allocations: 78.97 kB / 1.041 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004104/0.4008, allocations: 0.7382 MB / 1.042 GB, free: 13.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.4009, allocations: 4 kB / 1.042 GB, free: 13.94 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4009, allocations: 3.953 kB / 1.042 GB, free: 13.94 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.4009, allocations: 7.984 kB / 1.042 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006882/0.4016, allocations: 0.5706 MB / 1.042 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.4016, allocations: 0 / 1.042 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.4019, allocations: 51.91 kB / 1.042 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009701/0.4029, allocations: 176.6 kB / 1.043 GB, free: 13.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.105e-05/0.403, allocations: 15.97 kB / 1.043 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007591/0.4106, allocations: 2.173 MB / 1.045 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4106, allocations: 0 / 1.045 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0041/0.4147, allocations: 0.7713 MB / 1.046 GB, free: 9.965 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.415, allocations: 155.9 kB / 1.046 GB, free: 9.793 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.439e-05/0.4152, allocations: 8 kB / 1.046 GB, free: 9.785 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/0.4156, allocations: 27.97 kB / 1.046 GB, free: 9.758 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-05/0.4157, allocations: 27.95 kB / 1.046 GB, free: 9.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/0.4158, allocations: 15.98 kB / 1.046 GB, free: 9.715 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0011/0.4169, allocations: 1.003 MB / 1.047 GB, free: 8.719 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4169, allocations: 0 / 1.047 GB, free: 8.719 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005421/0.4174, allocations: 108 kB / 1.047 GB, free: 8.613 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005292/0.4227, allocations: 1.713 MB / 1.049 GB, free: 7.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001758/0.4245, allocations: 0.5413 MB / 1.049 GB, free: 6.465 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4245, allocations: 0 / 1.049 GB, free: 6.465 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009415/0.4255, allocations: 358.5 kB / 1.049 GB, free: 6.102 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/0.4261, allocations: 107 kB / 1.049 GB, free: 6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.4367, allocations: 5.492 MB / 1.055 GB, free: 352 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.33/0.7668, allocations: 0.9857 MB / 1.056 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004429/0.7673, allocations: 84.88 kB / 1.056 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.7676, allocations: 262.4 kB / 1.056 GB, free: 154.1 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/0.7676, allocations: 3.969 kB / 1.056 GB, free: 154.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03393/0.8016, allocations: 16.83 MB / 1.073 GB, free: 149.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001335/0.8017, allocations: 252.3 kB / 1.073 GB, free: 149.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/2.955, allocations: 7.938 kB / 1.073 GB, free: 149.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)