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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.992/1.992, allocations: 292.3 MB / 308.1 MB, free: 4.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00191/0.00191, allocations: 186.4 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.1 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 92.55 kB / 0.748 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3339, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.003514/0.3374, allocations: 0.7362 MB / 0.983 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.3393, allocations: 0.7853 MB / 0.9837 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.139e-05/0.3394, allocations: 0 / 0.9837 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.979e-05/0.3395, allocations: 3.984 kB / 0.9837 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.3397, allocations: 4 kB / 0.9837 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 8.959e-05/0.3398, allocations: 7.938 kB / 0.9837 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.3399, allocations: 19.97 kB / 0.9838 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.3401, allocations: 8 kB / 0.9838 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.3402, allocations: 11.94 kB / 0.9838 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.706e-05/0.3403, allocations: 11.98 kB / 0.9838 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.3403, allocations: 0 / 0.9838 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.3403, allocations: 0 / 0.9838 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.3404, allocations: 15.86 kB / 0.9838 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.3404, allocations: 7.938 kB / 0.9838 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.3406, allocations: 15.97 kB / 0.9838 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.3406, allocations: 0 / 0.9838 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3406, allocations: 0 / 0.9838 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3406, allocations: 0 / 0.9838 GB, free: 8.723 MB / 0.7136 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.0008413/0.3415, allocations: 351.7 kB / 0.9842 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.439e-05/0.3415, allocations: 8.031 kB / 0.9842 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.3416, allocations: 4.938 kB / 0.9842 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.3418, allocations: 168.3 kB / 0.9843 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.3419, allocations: 384 / 0.9843 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.3419, allocations: 384 / 0.9843 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.3422, allocations: 50.23 kB / 0.9844 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3422, allocations: 4.125 kB / 0.9844 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.3422, allocations: 7.938 kB / 0.9844 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3422, allocations: 4 kB / 0.9844 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.3424, allocations: 31.91 kB / 0.9844 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005791/0.343, allocations: 257 kB / 0.9847 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3432, allocations: 34.5 kB / 0.9847 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.104e-05/0.3433, allocations: 24.91 kB / 0.9847 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.3433, allocations: 0 / 0.9847 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.3433, allocations: 34.56 kB / 0.9848 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.3433, allocations: 0 / 0.9848 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003904/0.3437, allocations: 89.67 kB / 0.9848 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.3438, allocations: 51.41 kB / 0.9849 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3439, allocations: 101.8 kB / 0.985 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.3439, allocations: 25.7 kB / 0.985 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.3439, allocations: 84.14 kB / 0.9851 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.344, allocations: 7.906 kB / 0.9851 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.344, allocations: 9.719 kB / 0.9851 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3442, allocations: 318.8 kB / 0.9854 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.3443, allocations: 23.95 kB / 0.9854 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.017e-05/0.3443, allocations: 11.98 kB / 0.9855 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.3445, allocations: 44.77 kB / 0.9855 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3445, allocations: 3.984 kB / 0.9855 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.3447, allocations: 73.58 kB / 0.9856 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3447, allocations: 4 kB / 0.9856 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3447, allocations: 0 / 0.9856 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3448, allocations: 0 / 0.9856 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3449, allocations: 11.98 kB / 0.9856 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3449, allocations: 256 / 0.9856 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.3449, allocations: 7.984 kB / 0.9856 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.345, allocations: 4 kB / 0.9856 GB, free: 6.68 MB / 0.7136 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 0.0001131/0.3451, allocations: 125.8 kB / 0.9857 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.3451, allocations: 3.984 kB / 0.9857 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.3451, allocations: 3.125 kB / 0.9857 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3451, allocations: 0 / 0.9857 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.3452, allocations: 0 / 0.9857 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.3452, allocations: 7.938 kB / 0.9857 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.3454, allocations: 165.5 kB / 0.9859 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3454, allocations: 0 / 0.9859 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.835e-05/0.3455, allocations: 11.92 kB / 0.9859 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3455, allocations: 0 / 0.9859 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3455, allocations: 8 kB / 0.9859 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3455, allocations: 0 / 0.9859 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3455, allocations: 0 / 0.9859 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/0.3462, allocations: 0.72 MB / 0.9866 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.3463, allocations: 89.09 kB / 0.9867 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.3463, allocations: 0 / 0.9867 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.3464, allocations: 4 kB / 0.9867 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.3465, allocations: 3.984 kB / 0.9867 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.3465, allocations: 3.938 kB / 0.9867 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.027e-05/0.3466, allocations: 83.28 kB / 0.9868 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.3466, allocations: 0 / 0.9868 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003801/0.347, allocations: 4 kB / 0.9868 GB, free: 5.324 MB / 0.7136 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.0002424/0.3472, allocations: 105.1 kB / 0.9869 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.3474, allocations: 35.95 kB / 0.9869 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3475, allocations: 0 / 0.9869 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.665e-05/0.3475, allocations: 23.92 kB / 0.9869 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.348, allocations: 4 kB / 0.987 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.3485, allocations: 218.1 kB / 0.9872 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.3489, allocations: 0.6808 MB / 0.9878 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.3489, allocations: 7.984 kB / 0.9878 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.349, allocations: 7.438 kB / 0.9878 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.349, allocations: 0 / 0.9878 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of Templates: time 0.002505/0.3515, allocations: 376.5 kB / 0.9882 GB, free: 3.809 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (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)