Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.766/1.766, 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.001483/0.001483, allocations: 184.5 kB / 376.9 MB, free: 1.832 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.793/1.793, allocations: 205 MB / 0.6354 GB, free: 9.77 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.001016/0.001016, allocations: 105.9 kB / 0.748 GB, free: 61.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.84 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2969, 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.Less): time 0.004106/0.301, allocations: 2.002 MB / 0.9842 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3031, allocations: 1.031 MB / 0.9852 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.3033, allocations: 7.938 kB / 0.9852 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.3037, allocations: 99.67 kB / 0.9853 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.304, allocations: 79.72 kB / 0.9854 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.3044, allocations: 119.8 kB / 0.9855 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.3047, allocations: 207.4 kB / 0.9857 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.3048, allocations: 53.89 kB / 0.9857 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.305, allocations: 83.62 kB / 0.9858 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.3051, allocations: 91.59 kB / 0.9859 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.3052, allocations: 8 kB / 0.9859 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.3053, allocations: 55.91 kB / 0.986 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.885e-05/0.3054, allocations: 51.81 kB / 0.986 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.089e-05/0.3055, allocations: 87.42 kB / 0.9861 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.3058, allocations: 267.4 kB / 0.9864 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3058, allocations: 0 / 0.9864 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3058, allocations: 0 / 0.9864 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.3058, allocations: 0 / 0.9864 GB, free: 6.125 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008085/0.3067, allocations: 0.5449 MB / 0.9869 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.3067, allocations: 8.031 kB / 0.9869 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.3068, allocations: 28.59 kB / 0.9869 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.3071, allocations: 299.8 kB / 0.9872 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3071, allocations: 4.375 kB / 0.9872 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3072, allocations: 15.94 kB / 0.9872 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3074, allocations: 89.64 kB / 0.9873 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3074, allocations: 0 / 0.9873 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.3074, allocations: 4 kB / 0.9873 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3074, allocations: 3.938 kB / 0.9873 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.3076, allocations: 47.98 kB / 0.9874 GB, free: 5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.3082, allocations: 460.3 kB / 0.9878 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.3084, allocations: 70.67 kB / 0.9879 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.3085, allocations: 36.83 kB / 0.9879 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3085, allocations: 4 kB / 0.9879 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.3087, allocations: 87.23 kB / 0.988 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.3087, allocations: 0 / 0.988 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003083/0.309, allocations: 125.4 kB / 0.9881 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.3091, allocations: 55.41 kB / 0.9882 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.3094, allocations: 370.9 kB / 0.9885 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3095, allocations: 33.64 kB / 0.9886 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.198e-05/0.3096, allocations: 140 kB / 0.9887 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.3096, allocations: 15.81 kB / 0.9887 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.3097, allocations: 49.59 kB / 0.9888 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3098, allocations: 334.8 kB / 0.9891 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.3099, allocations: 51.98 kB / 0.9891 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.31, allocations: 77.62 kB / 0.9892 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.3102, allocations: 103.3 kB / 0.9893 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3102, allocations: 0 / 0.9893 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002873/0.3105, allocations: 195.6 kB / 0.9895 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3105, allocations: 5.719 kB / 0.9895 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3105, allocations: 0 / 0.9895 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3105, allocations: 0 / 0.9895 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.3107, allocations: 23.98 kB / 0.9895 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3107, allocations: 4.344 kB / 0.9895 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.82e-05/0.3108, allocations: 23.83 kB / 0.9895 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.3108, allocations: 4 kB / 0.9895 GB, free: 2.633 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001314/0.311, allocations: 157.8 kB / 0.9897 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.311, allocations: 23.66 kB / 0.9897 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.3111, allocations: 29.73 kB / 0.9897 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3111, allocations: 0 / 0.9897 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3111, allocations: 0 / 0.9897 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3111, allocations: 4 kB / 0.9897 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.3113, allocations: 249.5 kB / 0.99 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3113, allocations: 0 / 0.99 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.3113, allocations: 7.938 kB / 0.99 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3113, allocations: 3.984 kB / 0.99 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3113, allocations: 0 / 0.99 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3114, allocations: 4 kB / 0.99 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3114, allocations: 3.984 kB / 0.99 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.3119, allocations: 0.7446 MB / 0.9907 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.022e-05/0.312, allocations: 100.8 kB / 0.9908 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.312, allocations: 8 kB / 0.9908 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.3121, allocations: 11.92 kB / 0.9908 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.3122, allocations: 11.92 kB / 0.9909 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.3122, allocations: 4 kB / 0.9909 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002115/0.3124, allocations: 237.9 kB / 0.9911 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3124, allocations: 4 kB / 0.9911 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003327/0.3128, allocations: 51.86 kB / 0.9911 GB, free: 0.8555 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: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,lesHys.lesHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009351/0.3137, allocations: 407.7 kB / 0.9915 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.3139, allocations: 107.9 kB / 0.9916 GB, free: 460 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.314, allocations: 3.938 kB / 0.9916 GB, free: 456 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.536e-05/0.314, allocations: 27.98 kB / 0.9917 GB, free: 428 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.3144, allocations: 52.91 kB / 0.9917 GB, free: 376 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.315, allocations: 0.5351 MB / 0.9922 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3154, allocations: 0.7518 MB / 0.993 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.289e-05/0.3155, allocations: 30.09 kB / 0.993 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.3155, allocations: 19.44 kB / 0.993 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.3155, allocations: 3.938 kB / 0.993 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of Templates: time 0.005552/0.3211, allocations: 2.708 MB / 0.9957 GB, free: 12.27 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)