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.Tan.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.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 107.3 kB / 15.23 MB, free: 0.6523 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.002536/0.002536, allocations: 196.7 kB / 16.14 MB, free: 6.648 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.746/1.746, allocations: 205.1 MB / 222 MB, free: 4.73 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.692/1.692, allocations: 251.6 MB / 0.5088 GB, free: 3.316 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.001373/0.001373, allocations: 63.92 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7324/0.7338, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.002879/0.7368, allocations: 1.422 MB / 0.7252 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003158/0.7371, allocations: 128.5 kB / 0.7253 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.7371, allocations: 4 kB / 0.7253 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/0.7372, allocations: 3.938 kB / 0.7254 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.119e-05/0.7373, allocations: 0 / 0.7254 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.7375, allocations: 11.98 kB / 0.7254 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.65e-05/0.7375, allocations: 23.92 kB / 0.7254 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.7377, allocations: 4 kB / 0.7254 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.882e-05/0.7377, allocations: 7.922 kB / 0.7254 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.7378, allocations: 8 kB / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.7378, allocations: 4 kB / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.7378, allocations: 4 kB / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.7379, allocations: 7.922 kB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.7379, allocations: 8 kB / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.566e-05/0.738, allocations: 23.89 kB / 0.7254 GB, free: 11.51 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.738, allocations: 3.938 kB / 0.7255 GB, free: 11.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.173e-06/0.738, allocations: 0 / 0.7255 GB, free: 11.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.738, allocations: 0 / 0.7255 GB, free: 11.5 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004604/0.7385, allocations: 337.5 kB / 0.7258 GB, free: 11.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.7385, allocations: 8.031 kB / 0.7258 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.7386, allocations: 8.938 kB / 0.7258 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.7387, allocations: 172.2 kB / 0.726 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.7387, allocations: 384 / 0.726 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.7387, allocations: 8.359 kB / 0.726 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.7389, allocations: 46.23 kB / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.739, allocations: 4.188 kB / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.739, allocations: 3.938 kB / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.739, allocations: 0 / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.7391, allocations: 31.97 kB / 0.726 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.7395, allocations: 248.9 kB / 0.7263 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.7396, allocations: 50.47 kB / 0.7263 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.937e-05/0.7397, allocations: 20.91 kB / 0.7264 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.7398, allocations: 4 kB / 0.7264 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.7398, allocations: 30.56 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.7398, allocations: 3.938 kB / 0.7264 GB, free: 10.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003489/0.7402, allocations: 81.64 kB / 0.7265 GB, free: 10.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.7402, allocations: 55.34 kB / 0.7265 GB, free: 10.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.952e-05/0.7403, allocations: 110 kB / 0.7266 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.7404, allocations: 25.7 kB / 0.7266 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.7404, allocations: 80.14 kB / 0.7267 GB, free: 10 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.7404, allocations: 3.906 kB / 0.7267 GB, free: 9.996 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.7405, allocations: 17.72 kB / 0.7267 GB, free: 9.973 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.7406, allocations: 314.8 kB / 0.727 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.7407, allocations: 11.98 kB / 0.7271 GB, free: 9.645 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.207e-05/0.7408, allocations: 23.98 kB / 0.7271 GB, free: 9.621 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.7409, allocations: 32.83 kB / 0.7271 GB, free: 9.586 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.741, allocations: 0 / 0.7271 GB, free: 9.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000184/0.7412, allocations: 73.53 kB / 0.7272 GB, free: 9.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.7412, allocations: 4 kB / 0.7272 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.7412, allocations: 8.094 kB / 0.7272 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.7412, allocations: 0 / 0.7272 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.7413, allocations: 7.984 kB / 0.7272 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/0.7413, allocations: 3.984 kB / 0.7272 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.184e-05/0.7414, allocations: 11.89 kB / 0.7272 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.7414, allocations: 0 / 0.7272 GB, free: 9.473 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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 9.641e-05/0.7415, allocations: 117.8 kB / 0.7273 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.7416, allocations: 0 / 0.7273 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.7418, allocations: 76.72 kB / 0.7274 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.7418, allocations: 0 / 0.7274 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.7418, allocations: 0 / 0.7274 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.7418, allocations: 0 / 0.7274 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.742, allocations: 165.5 kB / 0.7276 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.742, allocations: 0 / 0.7276 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.7421, allocations: 15.98 kB / 0.7276 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.7421, allocations: 0 / 0.7276 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.7421, allocations: 4.031 kB / 0.7276 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.7421, allocations: 0 / 0.7276 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7421, allocations: 0 / 0.7276 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.7424, allocations: 159.5 kB / 0.7277 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.7424, allocations: 77.11 kB / 0.7278 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.7424, allocations: 3.938 kB / 0.7278 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.7425, allocations: 16.02 kB / 0.7278 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.7426, allocations: 4.188 kB / 0.7278 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.7426, allocations: 4 kB / 0.7278 GB, free: 8.742 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.7426, allocations: 83.27 kB / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7426, allocations: 0 / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002063/0.7428, allocations: 4 kB / 0.7279 GB, free: 8.656 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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.0001811/0.743, allocations: 103.2 kB / 0.728 GB, free: 8.543 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.7432, allocations: 39.97 kB / 0.7281 GB, free: 8.504 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7432, allocations: 0 / 0.7281 GB, free: 8.504 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.698e-05/0.7433, allocations: 15.98 kB / 0.7281 GB, free: 8.488 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.7437, allocations: 11.92 kB / 0.7281 GB, free: 8.477 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.744, allocations: 103.4 kB / 0.7282 GB, free: 8.352 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.7443, allocations: 0.6809 MB / 0.7288 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.544e-05/0.7443, allocations: 0 / 0.7288 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.7443, allocations: 7.438 kB / 0.7288 GB, free: 7.637 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.7443, allocations: 3.938 kB / 0.7289 GB, free: 7.633 MB / 0.545 GB Notification: Performance of Templates: time 0.002447/0.7468, allocations: 376.2 kB / 0.7292 GB, free: 7.273 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)