Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.544/2.544, allocations: 284.9 MB / 292.4 MB, free: 10.58 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001432, allocations: 180.8 kB / 360.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001084, allocations: 103.1 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.504e-05, allocations: 0 / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9021/0.9022, allocations: 115.2 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.38/7.282, allocations: 2.074 GB / 3.037 GB, free: 45.91 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/7.283, allocations: 79.52 kB / 3.037 GB, free: 45.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8884/8.171, allocations: 55.62 MB / 3.091 GB, free: 330.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.384e-06/8.171, allocations: 3.172 kB / 3.091 GB, free: 330.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.695e-05/8.171, allocations: 14.56 kB / 3.091 GB, free: 330.9 MB / 0.948 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.002076/8.173, allocations: 0.9013 MB / 3.092 GB, free: 330.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/8.173, allocations: 9.906 kB / 3.092 GB, free: 330.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003051/8.176, allocations: 190.6 kB / 3.092 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/8.178, allocations: 0.5271 MB / 3.093 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/8.178, allocations: 10.44 kB / 3.093 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.917e-05/8.178, allocations: 9 kB / 3.093 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000795/8.179, allocations: 282.9 kB / 3.093 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006281/8.18, allocations: 281.7 kB / 3.093 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/8.18, allocations: 0 / 3.093 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/8.18, allocations: 3.953 kB / 3.093 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/8.18, allocations: 5.625 kB / 3.093 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004079/8.184, allocations: 1.17 MB / 3.095 GB, free: 329.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008713/8.185, allocations: 352.9 kB / 3.095 GB, free: 329.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/8.185, allocations: 169.6 kB / 3.095 GB, free: 329.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-05/8.185, allocations: 6.812 kB / 3.095 GB, free: 329.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005624/8.186, allocations: 273.8 kB / 3.095 GB, free: 329.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 3.887e-06/8.186, allocations: 0 / 3.095 GB, free: 329.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.006161/8.192, allocations: 0.6172 MB / 3.096 GB, free: 329.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/8.192, allocations: 83.7 kB / 3.096 GB, free: 329.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/8.196, allocations: 1.177 MB / 3.097 GB, free: 329.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/8.196, allocations: 30.77 kB / 3.097 GB, free: 329.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004045/8.196, allocations: 363.7 kB / 3.098 GB, free: 329 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/8.197, allocations: 93.03 kB / 3.098 GB, free: 328.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/8.197, allocations: 0 / 3.098 GB, free: 328.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.223e-05/8.197, allocations: 318.6 kB / 3.098 GB, free: 328.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/8.197, allocations: 140.8 kB / 3.098 GB, free: 328.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/8.198, allocations: 184.7 kB / 3.098 GB, free: 328.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005782/8.198, allocations: 160.7 kB / 3.098 GB, free: 328.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/8.198, allocations: 1.312 kB / 3.098 GB, free: 328.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005933/8.204, allocations: 0.6219 MB / 3.099 GB, free: 328.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/8.204, allocations: 7.656 kB / 3.099 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/8.204, allocations: 0.875 kB / 3.099 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006321/8.205, allocations: 125.2 kB / 3.099 GB, free: 328.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/8.206, allocations: 64.39 kB / 3.099 GB, free: 328.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007076/8.213, allocations: 1.795 MB / 3.101 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/8.214, allocations: 48.31 kB / 3.101 GB, free: 327.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.205e-05/8.214, allocations: 14.22 kB / 3.101 GB, free: 327.2 MB / 0.948 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 () * 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.0001965/8.214, allocations: 120.1 kB / 3.101 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006085/8.22, allocations: 0.6275 MB / 3.102 GB, free: 327 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005342/8.221, allocations: 81.59 kB / 3.102 GB, free: 327 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006538/8.228, allocations: 0.7305 MB / 3.103 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/8.228, allocations: 6.625 kB / 3.103 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/8.228, allocations: 1.734 kB / 3.103 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/8.228, allocations: 6.016 kB / 3.103 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/8.229, allocations: 0.6045 MB / 3.103 GB, free: 326.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/8.229, allocations: 1.531 kB / 3.103 GB, free: 326.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/8.23, allocations: 56.8 kB / 3.103 GB, free: 326.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005696/8.231, allocations: 128.1 kB / 3.103 GB, free: 326.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.03e-05/8.231, allocations: 10.52 kB / 3.103 GB, free: 326.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007057/8.238, allocations: 1.799 MB / 3.105 GB, free: 325.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/8.238, allocations: 0 / 3.105 GB, free: 325.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00615/8.244, allocations: 0.6996 MB / 3.106 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007165/8.245, allocations: 226.2 kB / 3.106 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/8.245, allocations: 13.81 kB / 3.106 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008743/8.246, allocations: 24.47 kB / 3.106 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/8.246, allocations: 27.77 kB / 3.106 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/8.246, allocations: 15.28 kB / 3.106 GB, free: 325.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001964/8.248, allocations: 0.935 MB / 3.107 GB, free: 325.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.62e-07/8.248, allocations: 0 / 3.107 GB, free: 325.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001406/8.25, allocations: 205.3 kB / 3.107 GB, free: 325.1 MB / 0.948 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * 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.008637/8.258, allocations: 2.161 MB / 3.109 GB, free: 324.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001598/8.26, allocations: 494 kB / 3.11 GB, free: 324.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/8.26, allocations: 0 / 3.11 GB, free: 324.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008774/8.261, allocations: 337.3 kB / 3.11 GB, free: 324.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/8.262, allocations: 104.7 kB / 3.11 GB, free: 324.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004577/8.267, allocations: 1.553 MB / 3.112 GB, free: 323.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006834/8.267, allocations: 0.9899 MB / 3.113 GB, free: 323.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009492/8.268, allocations: 131.3 kB / 3.113 GB, free: 323 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006174/8.269, allocations: 270.2 kB / 3.113 GB, free: 323 MB / 0.948 GB Notification: Performance of SimCode: time 1.352e-06/8.269, allocations: 4 kB / 3.113 GB, free: 323 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09943/8.369, allocations: 22.4 MB / 3.135 GB, free: 321.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002897/8.369, allocations: 165.7 kB / 3.135 GB, free: 321.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.365/11.73, allocations: 0 / 3.135 GB, free: 321.6 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)