Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.372/1.372, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.0009318/0.000932, allocations: 177 kB / 326.5 MB, free: 2.699 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.567/1.567, allocations: 205 MB / 0.5766 GB, free: 21.07 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.0008803/0.0008799, allocations: 89.05 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003863, allocations: 11.81 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2638, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001677/0.2655, allocations: 1.141 MB / 0.8979 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003559/0.2659, allocations: 128.4 kB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.266, allocations: 4 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.395e-05/0.266, allocations: 4 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.151e-05/0.2661, allocations: 7.922 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.2663, allocations: 8 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.999e-05/0.2664, allocations: 43.91 kB / 0.8981 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.2665, allocations: 8.75 kB / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.153e-05/0.2666, allocations: 19.86 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.2667, allocations: 23.91 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.2667, allocations: 0 / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.2667, allocations: 4 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.2667, allocations: 11.92 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.2668, allocations: 11.94 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.023e-05/0.2669, allocations: 28.16 kB / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2669, allocations: 0 / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2669, allocations: 0 / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2669, allocations: 0 / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004739/0.2674, allocations: 371.4 kB / 0.8985 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.2674, allocations: 8.031 kB / 0.8985 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.2675, allocations: 4.938 kB / 0.8985 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.2676, allocations: 168.2 kB / 0.8987 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.2676, allocations: 4.375 kB / 0.8987 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.2676, allocations: 4.312 kB / 0.8987 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.2679, allocations: 82.22 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2679, allocations: 4.125 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2679, allocations: 7.922 kB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2679, allocations: 3.984 kB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.2682, allocations: 87.94 kB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.2686, allocations: 269 kB / 0.8991 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.2688, allocations: 70.47 kB / 0.8992 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.2689, allocations: 56.86 kB / 0.8993 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.269, allocations: 0 / 0.8993 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.269, allocations: 34.55 kB / 0.8993 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.269, allocations: 0 / 0.8993 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005489/0.2696, allocations: 161.5 kB / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.2696, allocations: 55.41 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/0.2697, allocations: 105.8 kB / 0.8996 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.2697, allocations: 29.7 kB / 0.8996 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.2697, allocations: 88.12 kB / 0.8997 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.2698, allocations: 11.84 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.2698, allocations: 9.719 kB / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.158e-05/0.2698, allocations: 318.8 kB / 0.9 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.27, allocations: 47.83 kB / 0.9001 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.2701, allocations: 43.97 kB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.2704, allocations: 92.78 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2704, allocations: 3.938 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002998/0.2707, allocations: 121.5 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2707, allocations: 4 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2707, allocations: 0 / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2707, allocations: 0 / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.2709, allocations: 31.97 kB / 0.9004 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2709, allocations: 0 / 0.9004 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.885e-05/0.271, allocations: 19.92 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.271, allocations: 0 / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.927e-05/0.2711, allocations: 113.8 kB / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.2711, allocations: 0 / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.2714, allocations: 133.5 kB / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2715, allocations: 0 / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2715, allocations: 3.938 kB / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2715, allocations: 0 / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.2716, allocations: 173.6 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2716, allocations: 0 / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.346e-05/0.2717, allocations: 19.98 kB / 0.9008 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2717, allocations: 0 / 0.9008 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.2717, allocations: 0 / 0.9008 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2717, allocations: 8 kB / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2717, allocations: 4.312 kB / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.2721, allocations: 231.3 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.2721, allocations: 77.11 kB / 0.9011 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.2721, allocations: 0 / 0.9011 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.2722, allocations: 15.98 kB / 0.9011 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.2723, allocations: 11.98 kB / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.2723, allocations: 0 / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.2723, allocations: 91.27 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2723, allocations: 0 / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002005/0.2725, allocations: 4 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001608/0.2727, allocations: 103.2 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.273, allocations: 91.86 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.2731, allocations: 0 / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.2732, allocations: 47.97 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.2735, allocations: 14.42 kB / 0.9015 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.2739, allocations: 167.8 kB / 0.9016 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.274, allocations: 0.6809 MB / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.274, allocations: 15.38 kB / 0.9023 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.2741, allocations: 0 / 0.9023 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of Templates: time 0.002002/0.2761, allocations: 0.7292 MB / 0.903 GB, free: 61.36 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)