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/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 252 MB / 267.6 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 176 kB / 327.3 MB, free: 2.184 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 0.5783 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008909/0.0008909, allocations: 83.75 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002832, allocations: 9.656 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2146, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002821/0.2174, allocations: 1.85 MB / 0.9026 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1691/0.3866, allocations: 136.7 MB / 1.036 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002778/0.3869, allocations: 7.938 kB / 1.036 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009251/0.3878, allocations: 0.7524 MB / 1.037 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0007251/0.3886, allocations: 466.8 kB / 1.037 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009184/0.3895, allocations: 305.4 kB / 1.038 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006335/0.3902, allocations: 491 kB / 1.038 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.3904, allocations: 56.7 kB / 1.038 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006152/0.391, allocations: 307.2 kB / 1.038 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005031/0.3915, allocations: 395.1 kB / 1.039 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.093e-05/0.3916, allocations: 12 kB / 1.039 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005653/0.3921, allocations: 271.6 kB / 1.039 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.3923, allocations: 175.4 kB / 1.039 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.3924, allocations: 121.3 kB / 1.039 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006479/0.3931, allocations: 0.5188 MB / 1.04 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3931, allocations: 0 / 1.04 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3931, allocations: 4 kB / 1.04 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.3932, allocations: 0 / 1.04 GB, free: 1.133 MB / 0.6823 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.001581/0.3947, allocations: 0.9681 MB / 1.041 GB, free: 116 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3948, allocations: 8.031 kB / 1.041 GB, free: 108 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.3964, allocations: 198.7 kB / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.3969, allocations: 459.5 kB / 1.041 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.3969, allocations: 12.38 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.397, allocations: 20 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008919/0.3979, allocations: 334.9 kB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3979, allocations: 4 kB / 1.042 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.398, allocations: 12 kB / 1.042 GB, free: 15.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.398, allocations: 4 kB / 1.042 GB, free: 15.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.3992, allocations: 332.7 kB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.4012, allocations: 1.116 MB / 1.043 GB, free: 13.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.4023, allocations: 393.3 kB / 1.044 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006466/0.403, allocations: 209.6 kB / 1.044 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.403, allocations: 7.984 kB / 1.044 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008053/0.4038, allocations: 304.8 kB / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 2.294e-06/0.4039, allocations: 0 / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.008794/0.4127, allocations: 1.2 MB / 1.045 GB, free: 11.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.4128, allocations: 81.11 kB / 1.045 GB, free: 11.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.4147, allocations: 1.349 MB / 1.047 GB, free: 9.902 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.4148, allocations: 29.7 kB / 1.047 GB, free: 9.867 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004009/0.4152, allocations: 368.5 kB / 1.047 GB, free: 9.504 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.4154, allocations: 98.64 kB / 1.047 GB, free: 9.406 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.4155, allocations: 4 kB / 1.047 GB, free: 9.402 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4156, allocations: 325.9 kB / 1.047 GB, free: 9.078 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006667/0.4163, allocations: 171.8 kB / 1.048 GB, free: 8.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/0.4169, allocations: 237.7 kB / 1.048 GB, free: 8.656 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006542/0.4176, allocations: 176 kB / 1.048 GB, free: 8.484 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4176, allocations: 0 / 1.048 GB, free: 8.484 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004019/0.4217, allocations: 0.7009 MB / 1.049 GB, free: 7.773 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.4217, allocations: 10.66 kB / 1.049 GB, free: 7.766 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4217, allocations: 4.062 kB / 1.049 GB, free: 7.762 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.4228, allocations: 176.6 kB / 1.049 GB, free: 7.586 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.4232, allocations: 59.91 kB / 1.049 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007324/0.4305, allocations: 2.108 MB / 1.051 GB, free: 5.285 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/0.4311, allocations: 47.72 kB / 1.051 GB, free: 5.238 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.4312, allocations: 15.97 kB / 1.051 GB, free: 5.223 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.0004396/0.4316, allocations: 301 kB / 1.051 GB, free: 4.922 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.4318, allocations: 86.95 kB / 1.051 GB, free: 4.836 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004277/0.4361, allocations: 0.7467 MB / 1.052 GB, free: 4.074 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.4361, allocations: 0 / 1.052 GB, free: 4.074 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4361, allocations: 7.953 kB / 1.052 GB, free: 4.066 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.4361, allocations: 0 / 1.052 GB, free: 4.066 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007881/0.4369, allocations: 0.5701 MB / 1.053 GB, free: 3.449 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.437, allocations: 4.312 kB / 1.053 GB, free: 3.445 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.4373, allocations: 51.91 kB / 1.053 GB, free: 3.395 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.4383, allocations: 176.7 kB / 1.053 GB, free: 3.219 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.4384, allocations: 15.97 kB / 1.053 GB, free: 3.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007304/0.4457, allocations: 2.099 MB / 1.055 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4457, allocations: 4 kB / 1.055 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004057/0.4498, allocations: 0.7417 MB / 1.056 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.45, allocations: 155.9 kB / 1.056 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-05/0.4501, allocations: 11.95 kB / 1.056 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3825/0.8326, allocations: 27 kB / 1.056 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.8328, allocations: 25.62 kB / 1.056 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.323e-05/0.8328, allocations: 20.02 kB / 1.056 GB, free: 155.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001201/0.8341, allocations: 1.001 MB / 1.057 GB, free: 155.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8341, allocations: 0 / 1.057 GB, free: 155.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005649/0.8346, allocations: 113.5 kB / 1.057 GB, free: 155.8 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.0009674/0.8356, allocations: 428.1 kB / 1.057 GB, free: 155.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001838/0.8375, allocations: 0.5424 MB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.8375, allocations: 0 / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009844/0.8385, allocations: 364.9 kB / 1.058 GB, free: 155.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000735/0.8392, allocations: 119.8 kB / 1.058 GB, free: 155.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.8415, allocations: 1.774 MB / 1.06 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.8419, allocations: 0.9643 MB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.842, allocations: 44.59 kB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of SimCode: time 7.32e-07/0.8421, allocations: 0 / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of Templates: time 0.02126/0.8633, allocations: 11.01 MB / 1.072 GB, free: 151.4 MB / 0.698 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)