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.697/2.697, allocations: 287.5 MB / 302.4 MB, free: 8.352 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.001407/0.001406, allocations: 184.2 kB / 371 MB, free: 10.87 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.167/2.167, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001014/0.001014, allocations: 92.95 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007308/0.0007314, allocations: 11.94 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.243, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002787/0.2459, allocations: 1.827 MB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9325/1.178, allocations: 136.6 MB / 1.114 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003109/1.179, allocations: 5.188 kB / 1.114 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/1.18, allocations: 0.7539 MB / 1.114 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001132/1.181, allocations: 460.8 kB / 1.115 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/1.183, allocations: 319.1 kB / 1.115 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001186/1.184, allocations: 481.9 kB / 1.116 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/1.184, allocations: 73.03 kB / 1.116 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009823/1.185, allocations: 301.1 kB / 1.116 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007891/1.186, allocations: 399.4 kB / 1.116 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/1.186, allocations: 8.688 kB / 1.116 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/1.188, allocations: 276.2 kB / 1.117 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002896/1.188, allocations: 171.2 kB / 1.117 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000258/1.188, allocations: 118.7 kB / 1.117 GB, free: 17.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/1.19, allocations: 0.5233 MB / 1.117 GB, free: 17.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/1.19, allocations: 0 / 1.117 GB, free: 17.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.716e-06/1.19, allocations: 1.094 kB / 1.117 GB, free: 17.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.863e-05/1.19, allocations: 0 / 1.117 GB, free: 17.35 MB / 0.698 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.002697/1.192, allocations: 0.9761 MB / 1.118 GB, free: 16.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/1.192, allocations: 13.45 kB / 1.118 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/1.193, allocations: 55.28 kB / 1.118 GB, free: 16.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002899/1.196, allocations: 193.2 kB / 1.119 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009942/1.197, allocations: 449.1 kB / 1.119 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/1.197, allocations: 13.34 kB / 1.119 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/1.197, allocations: 22.98 kB / 1.119 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/1.198, allocations: 328.3 kB / 1.119 GB, free: 16.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/1.198, allocations: 5.859 kB / 1.119 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/1.198, allocations: 12.22 kB / 1.119 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/1.198, allocations: 5.125 kB / 1.119 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/1.201, allocations: 334.7 kB / 1.12 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003661/1.205, allocations: 1.12 MB / 1.121 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/1.206, allocations: 406.6 kB / 1.121 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/1.208, allocations: 203.9 kB / 1.121 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-05/1.208, allocations: 8.172 kB / 1.121 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/1.209, allocations: 304.1 kB / 1.122 GB, free: 15.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 3.267e-06/1.209, allocations: 3.938 kB / 1.122 GB, free: 15.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.01724/1.226, allocations: 1.197 MB / 1.123 GB, free: 15.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/1.227, allocations: 86.02 kB / 1.123 GB, free: 15.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/1.229, allocations: 1.339 MB / 1.124 GB, free: 15.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001738/1.229, allocations: 34.73 kB / 1.124 GB, free: 15.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004371/1.229, allocations: 369.1 kB / 1.125 GB, free: 14.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/1.23, allocations: 97.33 kB / 1.125 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/1.23, allocations: 7.438 kB / 1.125 GB, free: 14.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.23, allocations: 321.8 kB / 1.125 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/1.231, allocations: 167.7 kB / 1.125 GB, free: 14.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/1.232, allocations: 231.4 kB / 1.125 GB, free: 14.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/1.233, allocations: 194.9 kB / 1.126 GB, free: 14.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.233, allocations: 0 / 1.126 GB, free: 14.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.007717/1.241, allocations: 0.7007 MB / 1.126 GB, free: 14.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/1.241, allocations: 4.812 kB / 1.126 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.241, allocations: 7.5 kB / 1.126 GB, free: 14.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002175/1.244, allocations: 182.7 kB / 1.126 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/1.244, allocations: 60.58 kB / 1.127 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/1.258, allocations: 2.11 MB / 1.129 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/1.259, allocations: 40.3 kB / 1.129 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.592e-05/1.259, allocations: 17.83 kB / 1.129 GB, free: 13.05 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.0006707/1.26, allocations: 301.2 kB / 1.129 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/1.26, allocations: 82.88 kB / 1.129 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007751/1.268, allocations: 0.7402 MB / 1.13 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/1.268, allocations: 9.625 kB / 1.13 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.268, allocations: 3.938 kB / 1.13 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/1.268, allocations: 0 / 1.13 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/1.269, allocations: 0.5632 MB / 1.13 GB, free: 12.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.269, allocations: 0 / 1.13 GB, free: 12.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/1.27, allocations: 56.39 kB / 1.13 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/1.272, allocations: 176.4 kB / 1.131 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/1.272, allocations: 17.02 kB / 1.131 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01369/1.286, allocations: 2.093 MB / 1.133 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.286, allocations: 3.656 kB / 1.133 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007993/1.294, allocations: 0.7533 MB / 1.133 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/1.294, allocations: 160.6 kB / 1.133 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/1.294, allocations: 7.594 kB / 1.133 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008102/1.295, allocations: 31.89 kB / 1.134 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/1.295, allocations: 24.25 kB / 1.134 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.787e-05/1.295, allocations: 18.28 kB / 1.134 GB, free: 10.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001827/1.297, allocations: 0.9986 MB / 1.135 GB, free: 10.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.11e-07/1.297, allocations: 1.125 kB / 1.135 GB, free: 10.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001006/1.298, allocations: 109 kB / 1.135 GB, free: 10.86 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.009697/1.308, allocations: 1.633 MB / 1.136 GB, free: 9.957 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003286/1.311, allocations: 0.5398 MB / 1.137 GB, free: 9.746 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.311, allocations: 1 kB / 1.137 GB, free: 9.746 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/1.313, allocations: 362.8 kB / 1.137 GB, free: 9.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/1.315, allocations: 117.2 kB / 1.137 GB, free: 9.531 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02157/1.336, allocations: 5.038 MB / 1.142 GB, free: 7.344 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008511/1.337, allocations: 0.9686 MB / 1.143 GB, free: 6.543 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007775/1.338, allocations: 89.08 kB / 1.143 GB, free: 6.504 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005494/1.338, allocations: 266.8 kB / 1.143 GB, free: 6.469 MB / 0.698 GB Notification: Performance of SimCode: time 1.373e-06/1.338, allocations: 0 / 1.143 GB, free: 6.469 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06533/1.404, allocations: 16.87 MB / 1.16 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003464/1.404, allocations: 249.4 kB / 1.16 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.31/4.715, allocations: 0 / 1.16 GB, free: 14.11 MB / 0.7136 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)