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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009103/0.0009103, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009625/0.0009626, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.129/1.129, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, allocations: 251.7 MB / 0.5088 GB, free: 3.32 MB / 414.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.001174/0.001174, allocations: 63.92 kB / 0.6216 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3703, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002988/0.3734, allocations: 2.262 MB / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1321/0.5054, allocations: 148.1 MB / 0.8707 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.5056, allocations: 7.938 kB / 0.8707 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007385/0.5064, allocations: 0.7603 MB / 0.8714 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0004945/0.5069, allocations: 482.7 kB / 0.8719 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/0.5075, allocations: 325.8 kB / 0.8722 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.508, allocations: 0.5499 MB / 0.8727 GB, free: 4.012 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.5081, allocations: 78.67 kB / 0.8728 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.5092, allocations: 331.8 kB / 0.8731 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003822/0.5096, allocations: 467.8 kB / 0.8736 GB, free: 3.168 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.744e-05/0.5097, allocations: 16 kB / 0.8736 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.5101, allocations: 283.5 kB / 0.8739 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.5102, allocations: 179.7 kB / 0.874 GB, free: 2.699 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.5104, allocations: 261.9 kB / 0.8743 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0005916/0.511, allocations: 0.7045 MB / 0.875 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.511, allocations: 0 / 0.875 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of FrontEnd: time 6.71e-07/0.511, allocations: 3.938 kB / 0.875 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.5111, allocations: 4 kB / 0.875 GB, free: 1.727 MB / 0.6856 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.001336/0.5124, allocations: 1.073 MB / 0.876 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.5124, allocations: 8.031 kB / 0.876 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.5139, allocations: 190.8 kB / 0.8762 GB, free: 416 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.5144, allocations: 494.6 kB / 0.8767 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.5144, allocations: 12.38 kB / 0.8767 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.5145, allocations: 20 kB / 0.8767 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008394/0.5153, allocations: 338.9 kB / 0.877 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5153, allocations: 0 / 0.877 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.5154, allocations: 8 kB / 0.8771 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.5154, allocations: 8 kB / 0.8771 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.5166, allocations: 340.6 kB / 0.8774 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.5184, allocations: 1.109 MB / 0.8785 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.5195, allocations: 393.4 kB / 0.8788 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006394/0.5202, allocations: 209.5 kB / 0.879 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.5202, allocations: 11.97 kB / 0.8791 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007901/0.521, allocations: 310.3 kB / 0.8794 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.521, allocations: 0 / 0.8794 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30): time 0.008769/0.5298, allocations: 1.221 MB / 0.8805 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.5299, allocations: 81.11 kB / 0.8806 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.531, allocations: 1.345 MB / 0.8819 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.5311, allocations: 33.64 kB / 0.882 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.5313, allocations: 368.4 kB / 0.8823 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.028e-05/0.5314, allocations: 94.7 kB / 0.8824 GB, free: 9.84 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.5315, allocations: 69.66 kB / 0.8825 GB, free: 9.766 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.5316, allocations: 318 kB / 0.8828 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006182/0.5322, allocations: 179.8 kB / 0.883 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/0.5329, allocations: 229.7 kB / 0.8832 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.5341, allocations: 397.4 kB / 0.8835 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5341, allocations: 0 / 0.8835 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003786/0.5379, allocations: 0.7143 MB / 0.8842 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.5379, allocations: 8 kB / 0.8843 GB, free: 7.895 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5379, allocations: 0 / 0.8843 GB, free: 7.895 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009944/0.5389, allocations: 184.7 kB / 0.8844 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.5393, allocations: 55.91 kB / 0.8845 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006997/0.5463, allocations: 2.118 MB / 0.8866 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.5468, allocations: 39.92 kB / 0.8866 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.5468, allocations: 20.28 kB / 0.8866 GB, free: 5.344 MB / 0.7012 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.0003152/0.5472, allocations: 298.2 kB / 0.8869 GB, free: 5.043 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-05/0.5473, allocations: 82.97 kB / 0.887 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.5513, allocations: 0.7474 MB / 0.8877 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.5513, allocations: 7.984 kB / 0.8877 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.5513, allocations: 8 kB / 0.8877 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5513, allocations: 3.938 kB / 0.8877 GB, free: 4.18 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.5518, allocations: 0.5703 MB / 0.8883 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.5518, allocations: 7.984 kB / 0.8883 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.5521, allocations: 47.91 kB / 0.8883 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009403/0.5531, allocations: 176.6 kB / 0.8885 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.5531, allocations: 15.97 kB / 0.8885 GB, free: 3.316 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006947/0.5601, allocations: 2.103 MB / 0.8906 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5601, allocations: 3.938 kB / 0.8906 GB, free: 1.078 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00385/0.5639, allocations: 0.7614 MB / 0.8913 GB, free: 300 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.564, allocations: 144 kB / 0.8915 GB, free: 136 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.756e-05/0.5641, allocations: 8 kB / 0.8915 GB, free: 128 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.5645, allocations: 31.97 kB / 0.8915 GB, free: 96 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.339e-05/0.5646, allocations: 23.97 kB / 0.8915 GB, free: 72 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.5647, allocations: 23.86 kB / 0.8915 GB, free: 48 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008851/0.5655, allocations: 0.9988 MB / 0.8925 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5655, allocations: 0 / 0.8925 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004513/0.566, allocations: 119.8 kB / 0.8926 GB, free: 14.94 MB / 0.7169 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.0008801/0.5669, allocations: 439.3 kB / 0.893 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.5685, allocations: 0.5491 MB / 0.8936 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5685, allocations: 0 / 0.8936 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000871/0.5694, allocations: 354.5 kB / 0.8939 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/0.57, allocations: 119.9 kB / 0.894 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.5721, allocations: 1.775 MB / 0.8958 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.5726, allocations: 0.9684 MB / 0.8967 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003091/0.5729, allocations: 90.84 kB / 0.8968 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.573, allocations: 39.42 kB / 0.8968 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.573, allocations: 0 / 0.8968 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.01329/0.5863, allocations: 9.829 MB / 0.9064 GB, free: 0.9297 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)