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.005805/0.005805, allocations: 102 kB / 15.73 MB, free: 6.051 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.00134/0.00134, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.264/1.264, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.394/1.394, allocations: 251.7 MB / 0.5094 GB, free: 2.996 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.001506/0.001506, allocations: 75.89 kB / 0.7257 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1994, allocations: 104.7 MB / 0.828 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003427/0.2029, allocations: 2.213 MB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5351/0.738, allocations: 150.4 MB / 0.9771 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.7382, allocations: 6.188 kB / 0.9771 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000812/0.739, allocations: 0.7811 MB / 0.9778 GB, free: 5.844 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005941/0.7396, allocations: 494.7 kB / 0.9783 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.7403, allocations: 368.4 kB / 0.9787 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.7408, allocations: 0.568 MB / 0.9792 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.741, allocations: 88.11 kB / 0.9793 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009161/0.7419, allocations: 355.1 kB / 0.9796 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.7423, allocations: 477 kB / 0.9801 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.7424, allocations: 27.45 kB / 0.9801 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000454/0.7429, allocations: 300.3 kB / 0.9804 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.743, allocations: 189 kB / 0.9806 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.7432, allocations: 263.5 kB / 0.9808 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007704/0.744, allocations: 0.7423 MB / 0.9816 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.744, allocations: 0 / 0.9816 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.142e-06/0.744, allocations: 0 / 0.9816 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.744, allocations: 0 / 0.9816 GB, free: 4.703 MB / 0.7325 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.001414/0.7454, allocations: 1.072 MB / 0.9826 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.7455, allocations: 10.86 kB / 0.9826 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.7469, allocations: 193.9 kB / 0.9828 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005447/0.7475, allocations: 0.4907 MB / 0.9833 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.7475, allocations: 13.12 kB / 0.9833 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.7475, allocations: 21.75 kB / 0.9833 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008381/0.7484, allocations: 333.3 kB / 0.9836 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.7484, allocations: 5.344 kB / 0.9836 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.7484, allocations: 9.562 kB / 0.9837 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.7485, allocations: 5.031 kB / 0.9837 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.7496, allocations: 342.5 kB / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.7514, allocations: 1.105 MB / 0.9851 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009743/0.7524, allocations: 406.4 kB / 0.9855 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005862/0.753, allocations: 205.6 kB / 0.9857 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.264e-05/0.7531, allocations: 8.672 kB / 0.9857 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007183/0.7538, allocations: 307.4 kB / 0.986 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.7538, allocations: 0 / 0.986 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.007701/0.7615, allocations: 1.224 MB / 0.9871 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.7616, allocations: 79.64 kB / 0.9872 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.7627, allocations: 1.342 MB / 0.9885 GB, free: 312 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.7628, allocations: 40.45 kB / 0.9886 GB, free: 268 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.763, allocations: 369.9 kB / 0.9889 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/0.7631, allocations: 96.34 kB / 0.989 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.7633, allocations: 71.17 kB / 0.9891 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.7634, allocations: 316.7 kB / 0.9894 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005702/0.7639, allocations: 172.2 kB / 0.9896 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/0.7645, allocations: 228.9 kB / 0.9898 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.7657, allocations: 398.9 kB / 0.9902 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.7657, allocations: 3.938 kB / 0.9902 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003501/0.7692, allocations: 0.7113 MB / 0.9908 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.7692, allocations: 7.312 kB / 0.9909 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7692, allocations: 0 / 0.9909 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000907/0.7701, allocations: 183 kB / 0.991 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.7704, allocations: 57.41 kB / 0.9911 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006805/0.7772, allocations: 2.297 MB / 0.9933 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.7777, allocations: 46.12 kB / 0.9934 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.7778, allocations: 13.89 kB / 0.9934 GB, free: 12.63 MB / 0.7481 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.0003091/0.7781, allocations: 292.9 kB / 0.9937 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.7782, allocations: 82.06 kB / 0.9937 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/0.7818, allocations: 0.7583 MB / 0.9945 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.7818, allocations: 9.328 kB / 0.9945 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.7819, allocations: 4 kB / 0.9945 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7819, allocations: 0 / 0.9945 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005186/0.7824, allocations: 0.5743 MB / 0.9951 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7824, allocations: 0 / 0.9951 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.7826, allocations: 53.22 kB / 0.9951 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008579/0.7835, allocations: 175.3 kB / 0.9953 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.7836, allocations: 14.84 kB / 0.9953 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006513/0.7901, allocations: 2.291 MB / 0.9975 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.7901, allocations: 10.67 kB / 0.9975 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00346/0.7936, allocations: 0.7501 MB / 0.9983 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.7937, allocations: 145.3 kB / 0.9984 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.7938, allocations: 12.94 kB / 0.9984 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.7941, allocations: 32.78 kB / 0.9985 GB, free: 8.922 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.7942, allocations: 28.12 kB / 0.9985 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.7943, allocations: 14.17 kB / 0.9985 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008329/0.7951, allocations: 1.002 MB / 0.9995 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7951, allocations: 0 / 0.9995 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004365/0.7955, allocations: 113 kB / 0.9996 GB, free: 8.422 MB / 0.7481 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.0008903/0.7964, allocations: 445.4 kB / 1 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001513/0.798, allocations: 0.551 MB / 1.001 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.798, allocations: 0 / 1.001 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008329/0.7988, allocations: 357.6 kB / 1.001 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.7994, allocations: 125.9 kB / 1.001 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.8014, allocations: 1.576 MB / 1.003 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.8019, allocations: 0.9669 MB / 1.003 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002454/0.8021, allocations: 88.36 kB / 1.004 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.8022, allocations: 38.67 kB / 1.004 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.8022, allocations: 0 / 1.004 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of Templates: time 0.01477/0.817, allocations: 10.26 MB / 1.014 GB, free: 14.24 MB / 0.7637 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)