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.001149/0.001149, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001266/0.001266, allocations: 185.8 kB / 16.25 MB, free: 6.137 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.701/1.701, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.796/1.796, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001599/0.001598, allocations: 73.7 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3159, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.002239/0.3182, allocations: 0.7308 MB / 0.7836 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000862/0.3191, allocations: 0.7932 MB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/0.3191, allocations: 0 / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.079e-05/0.3192, allocations: 0 / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.647e-05/0.3192, allocations: 7.938 kB / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.439e-05/0.3193, allocations: 7.984 kB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.123e-05/0.3194, allocations: 27.88 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3195, allocations: 7.984 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.3196, allocations: 4 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.672e-05/0.3196, allocations: 15.92 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.3196, allocations: 4 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-06/0.3197, allocations: 0 / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.3197, allocations: 0 / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.3197, allocations: 23.91 kB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.527e-05/0.3198, allocations: 23.91 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3198, allocations: 0 / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3198, allocations: 0 / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3198, allocations: 0 / 0.7845 GB, free: 12.22 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.0004956/0.3203, allocations: 339.7 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3204, allocations: 8.031 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.3204, allocations: 0.9375 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.3205, allocations: 168.3 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3206, allocations: 8.375 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-06/0.3206, allocations: 384 / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3207, allocations: 54.17 kB / 0.785 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3208, allocations: 192 / 0.785 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3208, allocations: 3.938 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3208, allocations: 4 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.3209, allocations: 35.94 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.3213, allocations: 252.9 kB / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.3214, allocations: 42.53 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.3215, allocations: 24.84 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.3215, allocations: 0 / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.3215, allocations: 42.5 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.3215, allocations: 0 / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003141/0.3219, allocations: 77.64 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.3219, allocations: 55.41 kB / 0.7855 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.805e-05/0.322, allocations: 105.8 kB / 0.7856 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.322, allocations: 25.7 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.3221, allocations: 88.27 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.3221, allocations: 7.844 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.3221, allocations: 13.72 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.3222, allocations: 314.8 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.3223, allocations: 23.91 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.3224, allocations: 11.98 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3225, allocations: 40.89 kB / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3225, allocations: 0 / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001641/0.3227, allocations: 69.59 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3227, allocations: 4 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3227, allocations: 0 / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3227, allocations: 0 / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.961e-05/0.3228, allocations: 20.02 kB / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3228, allocations: 0 / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.3229, allocations: 7.938 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-06/0.3229, allocations: 0 / 0.7862 GB, free: 10.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.343e-05/0.323, allocations: 118.4 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.323, allocations: 3.906 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.323, allocations: 7.125 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.323, allocations: 0 / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.323, allocations: 0 / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3231, allocations: 4 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.3232, allocations: 169.5 kB / 0.7865 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3232, allocations: 0 / 0.7865 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.3233, allocations: 4 kB / 0.7865 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3233, allocations: 0 / 0.7865 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.3233, allocations: 4 kB / 0.7865 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3233, allocations: 0 / 0.7865 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3233, allocations: 3.984 kB / 0.7865 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.3235, allocations: 163.5 kB / 0.7867 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.3236, allocations: 81.09 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.3236, allocations: 3.938 kB / 0.7868 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.3237, allocations: 4 kB / 0.7868 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.3237, allocations: 3.984 kB / 0.7868 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.3237, allocations: 4 kB / 0.7868 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.762e-05/0.3237, allocations: 87.53 kB / 0.7869 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.513e-06/0.3238, allocations: 7.969 kB / 0.7869 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002004/0.324, allocations: 7.938 kB / 0.7869 GB, free: 9.418 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 (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.0001353/0.3241, allocations: 95.25 kB / 0.787 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.3243, allocations: 39.95 kB / 0.787 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3243, allocations: 0 / 0.787 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.425e-05/0.3244, allocations: 20.05 kB / 0.787 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.3247, allocations: 7.938 kB / 0.787 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.325, allocations: 117.3 kB / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.3252, allocations: 0.6768 MB / 0.7878 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.3252, allocations: 0 / 0.7878 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.3253, allocations: 11.44 kB / 0.7878 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3253, allocations: 4.062 kB / 0.7878 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of Templates: time 0.001908/0.3272, allocations: 383.1 kB / 0.7882 GB, free: 8.02 MB / 0.6075 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)