Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.0008113/0.0008113, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009277/0.0009277, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.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.0005585/0.0005585, allocations: 17.28 kB / 0.6737 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2567, allocations: 116.3 MB / 0.7873 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.0008769/0.2577, allocations: 394.7 kB / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008428/0.2585, allocations: 0.7815 MB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.2586, allocations: 4 kB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.2586, allocations: 0 / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.849e-05/0.2586, allocations: 11.91 kB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.397e-05/0.2587, allocations: 4 kB / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.767e-05/0.2588, allocations: 15.98 kB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.2589, allocations: 4 kB / 0.7885 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.423e-05/0.2589, allocations: 11.94 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.259, allocations: 11.92 kB / 0.7885 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.259, allocations: 0 / 0.7885 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.733e-06/0.259, allocations: 4 kB / 0.7885 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.259, allocations: 4 kB / 0.7885 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.2591, allocations: 29.7 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.873e-05/0.2591, allocations: 15.95 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2591, allocations: 0 / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2591, allocations: 0 / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.2591, allocations: 0 / 0.7886 GB, free: 10.59 MB / 0.6075 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.0004274/0.2596, allocations: 347.5 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2596, allocations: 8.031 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.2596, allocations: 7.938 kB / 0.7889 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.2598, allocations: 163 kB / 0.7891 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.2598, allocations: 0 / 0.7891 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.2598, allocations: 7.938 kB / 0.7891 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.26, allocations: 53.67 kB / 0.7891 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.26, allocations: 0 / 0.7891 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.26, allocations: 4 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.26, allocations: 0 / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.2602, allocations: 43.95 kB / 0.7892 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.2605, allocations: 260.9 kB / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.2607, allocations: 46.5 kB / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/0.2607, allocations: 28.89 kB / 0.7895 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.2608, allocations: 8 kB / 0.7895 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.2608, allocations: 30.56 kB / 0.7895 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.2608, allocations: 0 / 0.7895 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003067/0.2611, allocations: 101.6 kB / 0.7896 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.2612, allocations: 51.41 kB / 0.7897 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.2613, allocations: 109.7 kB / 0.7898 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.2613, allocations: 25.7 kB / 0.7898 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.2613, allocations: 88.12 kB / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.2613, allocations: 7.906 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.2613, allocations: 0 / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2615, allocations: 318.8 kB / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.068e-05/0.2615, allocations: 23.98 kB / 0.7902 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.205e-05/0.2616, allocations: 19.97 kB / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.2617, allocations: 28.05 kB / 0.7903 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2617, allocations: 0 / 0.7903 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001624/0.2619, allocations: 69.67 kB / 0.7903 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2619, allocations: 4 kB / 0.7903 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2619, allocations: 4.031 kB / 0.7903 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2619, allocations: 3.984 kB / 0.7903 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.124e-05/0.262, allocations: 8 kB / 0.7903 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.262, allocations: 4 kB / 0.7903 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.2621, allocations: 11.92 kB / 0.7904 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.2621, allocations: 0 / 0.7904 GB, free: 8.523 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.857e-05/0.2622, allocations: 117.8 kB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.2622, allocations: 7.984 kB / 0.7905 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.2622, allocations: 3.125 kB / 0.7905 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2622, allocations: 0 / 0.7905 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2622, allocations: 4 kB / 0.7905 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2622, allocations: 3.984 kB / 0.7905 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.2624, allocations: 161.6 kB / 0.7906 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2624, allocations: 3.938 kB / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.2625, allocations: 11.98 kB / 0.7907 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2625, allocations: 0 / 0.7907 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.2625, allocations: 4 kB / 0.7907 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2625, allocations: 0 / 0.7907 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2625, allocations: 4 kB / 0.7907 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.2627, allocations: 179.4 kB / 0.7908 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.2627, allocations: 77.11 kB / 0.7909 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.2628, allocations: 3.938 kB / 0.7909 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.2628, allocations: 11.98 kB / 0.7909 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.2629, allocations: 7.938 kB / 0.7909 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.2629, allocations: 256 / 0.7909 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.2629, allocations: 83.28 kB / 0.791 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2629, allocations: 0 / 0.791 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002006/0.2631, allocations: 8.031 kB / 0.791 GB, free: 7.746 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001137/0.2633, allocations: 105.6 kB / 0.7911 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.2635, allocations: 47.97 kB / 0.7912 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2635, allocations: 4.062 kB / 0.7912 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.2636, allocations: 19.98 kB / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.2638, allocations: 10.75 kB / 0.7912 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.2641, allocations: 108.7 kB / 0.7913 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.2644, allocations: 0.6848 MB / 0.792 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.2644, allocations: 4 kB / 0.792 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.2644, allocations: 7.438 kB / 0.792 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2644, allocations: 0 / 0.792 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of Templates: time 0.00193/0.2664, allocations: 361 kB / 0.7923 GB, free: 6.352 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1) Environment - environmentSimulation: