Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001344, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 193.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.088/3.088, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 74.91 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3964, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001867/0.3983, allocations: 0.6691 MB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008037/0.3991, allocations: 0.8139 MB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.3991, allocations: 4 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.3992, allocations: 0 / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.3992, allocations: 7.938 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.3994, allocations: 7.984 kB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.965e-05/0.3995, allocations: 27.92 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3996, allocations: 7.984 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.583e-05/0.3996, allocations: 11.92 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.741e-05/0.3997, allocations: 8 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.3997, allocations: 4 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/0.3997, allocations: 0 / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.3997, allocations: 11.92 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.3998, allocations: 11.94 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.92e-05/0.3999, allocations: 19.97 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3999, allocations: 0 / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3999, allocations: 0 / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3999, allocations: 0 / 1.07 GB, free: 8.816 MB / 0.8262 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.0004552/0.4003, allocations: 339.7 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4004, allocations: 12.03 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.4004, allocations: 0.9375 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.4006, allocations: 168.3 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.4006, allocations: 12.36 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.4006, allocations: 384 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.4008, allocations: 46.25 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4008, allocations: 4.172 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.4008, allocations: 3.938 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.4008, allocations: 0 / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.401, allocations: 39.89 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.4014, allocations: 244.9 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.4015, allocations: 50.41 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.761e-05/0.4016, allocations: 16.91 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.4017, allocations: 4 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.4017, allocations: 38.56 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4017, allocations: 0 / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003627/0.4021, allocations: 77.55 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.4021, allocations: 59.34 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/0.4022, allocations: 101.8 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.4022, allocations: 25.7 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.4023, allocations: 88.27 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.4023, allocations: 7.906 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.4023, allocations: 9.719 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.4024, allocations: 310.8 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.082e-05/0.4025, allocations: 23.97 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.027e-05/0.4026, allocations: 11.98 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.4028, allocations: 44.89 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.4028, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001976/0.403, allocations: 69.53 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.403, allocations: 9.562 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.403, allocations: 0 / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.403, allocations: 0 / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.876e-05/0.4031, allocations: 8.016 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4032, allocations: 8 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.4032, allocations: 7.984 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.4032, allocations: 0 / 1.072 GB, free: 6.785 MB / 0.8262 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.311e-05/0.4033, allocations: 109.8 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.4033, allocations: 0 / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.4036, allocations: 76.78 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4036, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.4036, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4036, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.4038, allocations: 169.5 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4038, allocations: 0 / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.124e-05/0.4039, allocations: 8 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4039, allocations: 3.938 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4039, allocations: 3.984 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4039, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4039, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.4042, allocations: 171.4 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.4043, allocations: 81.11 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.4043, allocations: 0 / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.4044, allocations: 4 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.4044, allocations: 7.922 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.4044, allocations: 4.031 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.4045, allocations: 83.28 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4045, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002161/0.4047, allocations: 7.938 kB / 1.072 GB, free: 5.969 MB / 0.8262 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.00016/0.4049, allocations: 100 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.4051, allocations: 39.95 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4051, allocations: 4.062 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.328e-05/0.4052, allocations: 19.98 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.4055, allocations: 3.938 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.4058, allocations: 110 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.4061, allocations: 0.6806 MB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.249e-05/0.4061, allocations: 4.062 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.4062, allocations: 11.44 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4062, allocations: 0 / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of Templates: time 0.002804/0.409, allocations: 434.6 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1)