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.0009035/0.0009036, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0008807/0.0008807, allocations: 190.1 kB / 16.25 MB, free: 6.625 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.122/1.122, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.353/1.353, allocations: 251.7 MB / 0.5089 GB, free: 3.297 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.001229/0.001229, allocations: 59.91 kB / 0.6217 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3522, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00313/0.3554, allocations: 2.27 MB / 0.7262 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1243/0.4797, allocations: 148.2 MB / 0.871 GB, free: 6.023 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.4799, allocations: 3.938 kB / 0.871 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007774/0.4807, allocations: 0.7797 MB / 0.8717 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.000582/0.4814, allocations: 474.8 kB / 0.8722 GB, free: 4.773 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008293/0.4822, allocations: 344.8 kB / 0.8725 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.4828, allocations: 0.5616 MB / 0.8731 GB, free: 3.875 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.4829, allocations: 74.67 kB / 0.8731 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.4843, allocations: 357.3 kB / 0.8735 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005099/0.4848, allocations: 0.4919 MB / 0.874 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.404e-05/0.4849, allocations: 24 kB / 0.874 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006338/0.4855, allocations: 299.6 kB / 0.8743 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.4857, allocations: 203.6 kB / 0.8745 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.4859, allocations: 261.9 kB / 0.8747 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0007588/0.4867, allocations: 0.7201 MB / 0.8754 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4867, allocations: 4 kB / 0.8754 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4867, allocations: 0 / 0.8754 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.4867, allocations: 0 / 0.8754 GB, free: 1.477 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.001443/0.4882, allocations: 1.077 MB / 0.8765 GB, free: 356 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4882, allocations: 8.031 kB / 0.8765 GB, free: 348 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.4897, allocations: 194.8 kB / 0.8767 GB, free: 152 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.4902, allocations: 498.6 kB / 0.8771 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.4903, allocations: 16.38 kB / 0.8771 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.4903, allocations: 23.94 kB / 0.8772 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008398/0.4912, allocations: 334.9 kB / 0.8775 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.4912, allocations: 0 / 0.8775 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.4912, allocations: 8 kB / 0.8775 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.4912, allocations: 8 kB / 0.8775 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.4924, allocations: 340.6 kB / 0.8778 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.4942, allocations: 1.105 MB / 0.8789 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009908/0.4952, allocations: 403.6 kB / 0.8793 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006031/0.4958, allocations: 201.6 kB / 0.8795 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.4959, allocations: 12 kB / 0.8795 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007444/0.4966, allocations: 306.3 kB / 0.8798 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.4966, allocations: 0 / 0.8798 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30): time 0.008543/0.5052, allocations: 1.217 MB / 0.881 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.5052, allocations: 85.05 kB / 0.8811 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.5063, allocations: 1.337 MB / 0.8824 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.5064, allocations: 33.7 kB / 0.8824 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.5066, allocations: 372.4 kB / 0.8828 GB, free: 9.68 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.224e-05/0.5067, allocations: 94.64 kB / 0.8828 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.5068, allocations: 73.61 kB / 0.8829 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.5069, allocations: 318 kB / 0.8832 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005937/0.5075, allocations: 167.9 kB / 0.8834 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.5081, allocations: 233.7 kB / 0.8836 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.5093, allocations: 401.6 kB / 0.884 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5093, allocations: 4 kB / 0.884 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003904/0.5133, allocations: 0.7184 MB / 0.8847 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.5133, allocations: 4 kB / 0.8847 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5133, allocations: 0 / 0.8847 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.5143, allocations: 180.7 kB / 0.8849 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.5146, allocations: 63.89 kB / 0.8849 GB, free: 7.395 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00728/0.5219, allocations: 2.307 MB / 0.8872 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/0.5224, allocations: 43.88 kB / 0.8872 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.5224, allocations: 15.98 kB / 0.8872 GB, free: 4.887 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.0002757/0.5227, allocations: 294.2 kB / 0.8875 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.945e-05/0.5228, allocations: 82.91 kB / 0.8876 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004002/0.5268, allocations: 0.7591 MB / 0.8883 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.5268, allocations: 4 kB / 0.8883 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.5268, allocations: 0 / 0.8883 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5268, allocations: 4 kB / 0.8883 GB, free: 3.727 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.5273, allocations: 0.578 MB / 0.8889 GB, free: 3.102 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5273, allocations: 0 / 0.8889 GB, free: 3.102 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.5276, allocations: 47.91 kB / 0.889 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009059/0.5285, allocations: 176.7 kB / 0.8891 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.5285, allocations: 15.97 kB / 0.8891 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007049/0.5356, allocations: 2.292 MB / 0.8914 GB, free: 444 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.5356, allocations: 11.91 kB / 0.8914 GB, free: 432 kB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003769/0.5394, allocations: 0.7575 MB / 0.8921 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.5395, allocations: 148 kB / 0.8923 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/0.5396, allocations: 15.88 kB / 0.8923 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.54, allocations: 31.97 kB / 0.8923 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.5401, allocations: 23.97 kB / 0.8923 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.5401, allocations: 11.98 kB / 0.8923 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008153/0.5409, allocations: 1.003 MB / 0.8933 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5409, allocations: 0 / 0.8933 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004269/0.5414, allocations: 115.9 kB / 0.8934 GB, free: 14.29 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.0008707/0.5422, allocations: 443.4 kB / 0.8939 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.5439, allocations: 0.5728 MB / 0.8944 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5439, allocations: 0 / 0.8944 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008442/0.5447, allocations: 362.4 kB / 0.8948 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.5453, allocations: 119.4 kB / 0.8949 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.5474, allocations: 1.775 MB / 0.8966 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.5479, allocations: 0.9684 MB / 0.8976 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003141/0.5482, allocations: 90.84 kB / 0.8976 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.5483, allocations: 35.42 kB / 0.8977 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.5483, allocations: 4 kB / 0.8977 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of Templates: time 0.277/0.8253, allocations: 10.15 MB / 0.9076 GB, free: 183 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)