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.75/2.75, allocations: 287.3 MB / 302.3 MB, free: 8.375 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.001533/0.001533, allocations: 181.1 kB / 370.8 MB, free: 10.88 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.201/2.201, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 100.7 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007042/0.0007043, allocations: 11.19 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2323, allocations: 115.3 MB / 0.9783 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.955/7.187, allocations: 2.074 GB / 3.053 GB, free: 200.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/7.188, allocations: 86.52 kB / 3.053 GB, free: 200.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1905/7.378, allocations: 56.53 MB / 3.108 GB, free: 153.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.645e-06/7.378, allocations: 0 / 3.108 GB, free: 153.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.179e-05/7.378, allocations: 12 kB / 3.108 GB, free: 153.1 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.002354/7.381, allocations: 1.056 MB / 3.109 GB, free: 152 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/7.381, allocations: 16.02 kB / 3.109 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/7.381, allocations: 50.53 kB / 3.109 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004353/7.385, allocations: 190.8 kB / 3.109 GB, free: 151.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/7.388, allocations: 0.5307 MB / 3.11 GB, free: 151.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.284e-05/7.388, allocations: 16.31 kB / 3.11 GB, free: 151.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/7.388, allocations: 19.95 kB / 3.11 GB, free: 151.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/7.391, allocations: 331.2 kB / 3.11 GB, free: 150.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/7.391, allocations: 4 kB / 3.11 GB, free: 150.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.019e-05/7.391, allocations: 8 kB / 3.11 GB, free: 150.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/7.391, allocations: 4 kB / 3.11 GB, free: 150.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003786/7.395, allocations: 364.6 kB / 3.11 GB, free: 150.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/7.399, allocations: 1.215 MB / 3.112 GB, free: 149.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/7.401, allocations: 417.4 kB / 3.112 GB, free: 148.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.772e-05/7.401, allocations: 7.984 kB / 3.112 GB, free: 148.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/7.402, allocations: 309.3 kB / 3.112 GB, free: 148.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 3.086e-06/7.402, allocations: 0 / 3.112 GB, free: 148.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.0174/7.419, allocations: 1.23 MB / 3.113 GB, free: 147.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/7.42, allocations: 85.05 kB / 3.113 GB, free: 147 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002706/7.422, allocations: 1.235 MB / 3.115 GB, free: 145.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.649e-05/7.422, allocations: 33.7 kB / 3.115 GB, free: 145.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/7.423, allocations: 368.4 kB / 3.115 GB, free: 145.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/7.423, allocations: 98.64 kB / 3.115 GB, free: 145.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/7.423, allocations: 8 kB / 3.115 GB, free: 145.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.349e-05/7.423, allocations: 321.9 kB / 3.115 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/7.424, allocations: 171.9 kB / 3.116 GB, free: 144.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/7.425, allocations: 237.7 kB / 3.116 GB, free: 144.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/7.427, allocations: 187.9 kB / 3.116 GB, free: 144.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/7.427, allocations: 0 / 3.116 GB, free: 144.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.007712/7.434, allocations: 0.7157 MB / 3.117 GB, free: 143.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/7.434, allocations: 8 kB / 3.117 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/7.434, allocations: 3.938 kB / 3.117 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001885/7.436, allocations: 180.7 kB / 3.117 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000641/7.437, allocations: 67.88 kB / 3.117 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/7.451, allocations: 2.179 MB / 3.119 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/7.452, allocations: 43.88 kB / 3.119 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/7.453, allocations: 23.97 kB / 3.119 GB, free: 141 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 () * 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.000587/7.453, allocations: 293.7 kB / 3.119 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/7.453, allocations: 82.97 kB / 3.12 GB, free: 140.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008184/7.462, allocations: 0.8525 MB / 3.12 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/7.462, allocations: 4 kB / 3.12 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/7.462, allocations: 3.953 kB / 3.12 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/7.462, allocations: 4 kB / 3.12 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/7.463, allocations: 0.6521 MB / 3.121 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/7.463, allocations: 3.938 kB / 3.121 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005915/7.464, allocations: 59.91 kB / 3.121 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/7.465, allocations: 180.6 kB / 3.121 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.487e-05/7.465, allocations: 15.98 kB / 3.121 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/7.48, allocations: 2.181 MB / 3.123 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/7.48, allocations: 0 / 3.123 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/7.491, allocations: 0.8012 MB / 3.124 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007046/7.492, allocations: 231.9 kB / 3.124 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003911/7.492, allocations: 16.05 kB / 3.124 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/7.494, allocations: 27.98 kB / 3.124 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/7.494, allocations: 31.95 kB / 3.124 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.961e-05/7.494, allocations: 15.98 kB / 3.125 GB, free: 135.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002827/7.497, allocations: 0.991 MB / 3.125 GB, free: 134.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.273e-06/7.497, allocations: 4 kB / 3.125 GB, free: 134.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001779/7.499, allocations: 219.8 kB / 3.126 GB, free: 134.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) * Number of clocked states: 0 () * 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.01529/7.514, allocations: 2.237 MB / 3.128 GB, free: 131.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004754/7.519, allocations: 0.5686 MB / 3.128 GB, free: 131.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/7.519, allocations: 4 kB / 3.128 GB, free: 131.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002562/7.522, allocations: 382.4 kB / 3.129 GB, free: 131 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/7.523, allocations: 103.2 kB / 3.129 GB, free: 130.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02776/7.551, allocations: 5.714 MB / 3.134 GB, free: 125 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008322/7.552, allocations: 0.989 MB / 3.135 GB, free: 124 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001154/7.553, allocations: 134.7 kB / 3.136 GB, free: 123.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008797/7.554, allocations: 267.2 kB / 3.136 GB, free: 123.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.803e-06/7.554, allocations: 0 / 3.136 GB, free: 123.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09764/7.652, allocations: 28.42 MB / 3.164 GB, free: 95.35 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/7.652, allocations: 248.9 kB / 3.164 GB, free: 95.06 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.726/11.38, allocations: 0 / 3.164 GB, free: 95.06 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)