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.Gain.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.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008812/0.008811, allocations: 100.1 kB / 15.73 MB, free: 5.965 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.001502/0.001503, allocations: 198.7 kB / 16.68 MB, free: 5.887 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.838/1.838, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.598/1.598, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.001535/0.001535, allocations: 71.84 kB / 0.7258 GB, free: 8.926 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2927, allocations: 104.7 MB / 0.8281 GB, free: 116 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.002837/0.2956, allocations: 1.369 MB / 0.8294 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003972/0.2961, allocations: 116.9 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.2961, allocations: 0 / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.377e-05/0.2962, allocations: 3.938 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.643e-05/0.2963, allocations: 7.922 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 7.179e-05/0.2964, allocations: 4 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.51e-05/0.2965, allocations: 23.98 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.2966, allocations: 0 / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.152e-05/0.2967, allocations: 19.86 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.698e-05/0.2967, allocations: 11.98 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.2968, allocations: 8 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-06/0.2968, allocations: 0 / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.2968, allocations: 3.938 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.2968, allocations: 11.94 kB / 0.8296 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.297, allocations: 27.94 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.297, allocations: 0 / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.765e-06/0.297, allocations: 3.938 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.297, allocations: 0 / 0.8297 GB, free: 14.49 MB / 0.6544 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.00059/0.2976, allocations: 339.4 kB / 0.83 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.2977, allocations: 12.03 kB / 0.83 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.2977, allocations: 8.781 kB / 0.83 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.2978, allocations: 164.4 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.2978, allocations: 4.375 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.2979, allocations: 384 / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.298, allocations: 50.23 kB / 0.8302 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2981, allocations: 192 / 0.8302 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2981, allocations: 3.938 kB / 0.8302 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2981, allocations: 4 kB / 0.8302 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.2982, allocations: 39.89 kB / 0.8303 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.2986, allocations: 249 kB / 0.8305 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.2988, allocations: 38.5 kB / 0.8305 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.2989, allocations: 28.89 kB / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.2989, allocations: 0 / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.2989, allocations: 38.5 kB / 0.8306 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2989, allocations: 0 / 0.8306 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003577/0.2993, allocations: 81.55 kB / 0.8307 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.2994, allocations: 55.41 kB / 0.8307 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.2995, allocations: 102 kB / 0.8308 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.2995, allocations: 25.7 kB / 0.8309 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.2995, allocations: 84.14 kB / 0.8309 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.2995, allocations: 11.83 kB / 0.831 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.2996, allocations: 13.72 kB / 0.831 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2997, allocations: 314.8 kB / 0.8313 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.6e-05/0.2998, allocations: 15.98 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-05/0.2999, allocations: 15.98 kB / 0.8313 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.3, allocations: 44.75 kB / 0.8313 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3, allocations: 0 / 0.8313 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001671/0.3002, allocations: 69.59 kB / 0.8314 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3002, allocations: 4 kB / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3002, allocations: 4.094 kB / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3002, allocations: 0 / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.3003, allocations: 12 kB / 0.8314 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3004, allocations: 0 / 0.8314 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.3004, allocations: 7.984 kB / 0.8314 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.3004, allocations: 0 / 0.8314 GB, free: 12.46 MB / 0.6544 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 6.4e-05/0.3005, allocations: 117.7 kB / 0.8315 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.3005, allocations: 0 / 0.8315 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.3005, allocations: 15.11 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3006, allocations: 3.938 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3006, allocations: 3.938 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3006, allocations: 0 / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.3007, allocations: 161.6 kB / 0.8317 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3007, allocations: 3.984 kB / 0.8317 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.3008, allocations: 7.984 kB / 0.8317 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3008, allocations: 0 / 0.8317 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.3008, allocations: 4 kB / 0.8317 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3008, allocations: 0 / 0.8317 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3008, allocations: 4 kB / 0.8317 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.301, allocations: 167.4 kB / 0.8319 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.3011, allocations: 77.11 kB / 0.832 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.3011, allocations: 256 / 0.832 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.3012, allocations: 11.98 kB / 0.832 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.3012, allocations: 4.031 kB / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.3012, allocations: 4 kB / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.362e-05/0.3013, allocations: 87.27 kB / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.413e-06/0.3013, allocations: 0 / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002022/0.3015, allocations: 7.938 kB / 0.8321 GB, free: 11.7 MB / 0.6544 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.0001528/0.3016, allocations: 95.25 kB / 0.8322 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.3019, allocations: 39.97 kB / 0.8322 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3019, allocations: 0 / 0.8322 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.388e-05/0.3019, allocations: 23.97 kB / 0.8322 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.3023, allocations: 6.344 kB / 0.8322 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.3026, allocations: 105.6 kB / 0.8323 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.3028, allocations: 0.6844 MB / 0.833 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.158e-05/0.3029, allocations: 8.125 kB / 0.833 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.3029, allocations: 7.438 kB / 0.833 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.3029, allocations: 0 / 0.833 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of Templates: time 0.002449/0.3054, allocations: 440.8 kB / 0.8334 GB, free: 10.25 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)