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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 112.7 kB / 16.37 MB, free: 6.012 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.001181/0.001181, allocations: 189.5 kB / 17.31 MB, free: 5.609 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.441/1.441, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.807/1.807, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001534/0.001534, allocations: 79.19 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2317, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.004087/0.2359, allocations: 1.944 MB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.238, allocations: 1.038 MB / 0.7877 GB, free: 152 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002141/0.2382, allocations: 7.938 kB / 0.7877 GB, free: 144 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004448/0.2387, allocations: 99.55 kB / 0.7878 GB, free: 44 kB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.3779/0.6167, allocations: 93.7 kB / 0.7879 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006225/0.6173, allocations: 128.4 kB / 0.788 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.6177, allocations: 213.9 kB / 0.7882 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.618, allocations: 62 kB / 0.7883 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.6181, allocations: 90.27 kB / 0.7884 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.6183, allocations: 101 kB / 0.7885 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.6184, allocations: 11.84 kB / 0.7885 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.6186, allocations: 61.97 kB / 0.7886 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.664e-05/0.6187, allocations: 65.67 kB / 0.7886 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.673e-05/0.6188, allocations: 79.34 kB / 0.7887 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000422/0.6192, allocations: 282 kB / 0.789 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.6192, allocations: 2.719 kB / 0.789 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.634e-06/0.6192, allocations: 5.297 kB / 0.789 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.6192, allocations: 1 kB / 0.789 GB, free: 46.41 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0009868/0.6202, allocations: 0.531 MB / 0.7895 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.6203, allocations: 8.812 kB / 0.7895 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/0.6204, allocations: 24.06 kB / 0.7895 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.6207, allocations: 308.3 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.6208, allocations: 7.75 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.6208, allocations: 9.25 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.621, allocations: 104.2 kB / 0.7899 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.621, allocations: 0 / 0.7899 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.621, allocations: 0 / 0.7899 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.6211, allocations: 2.625 kB / 0.7899 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.6212, allocations: 55.55 kB / 0.79 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006613/0.6219, allocations: 452.2 kB / 0.7904 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.6221, allocations: 78.42 kB / 0.7905 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.909e-05/0.6222, allocations: 28.36 kB / 0.7905 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.6222, allocations: 2.625 kB / 0.7905 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.6224, allocations: 81.95 kB / 0.7906 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.6224, allocations: 0 / 0.7906 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003273/0.6227, allocations: 133.5 kB / 0.7907 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.6228, allocations: 52.22 kB / 0.7908 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.6231, allocations: 369.7 kB / 0.7911 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.6231, allocations: 28.33 kB / 0.7912 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.6232, allocations: 139.9 kB / 0.7913 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.6232, allocations: 22.86 kB / 0.7913 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.6233, allocations: 45.19 kB / 0.7914 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.6234, allocations: 335.8 kB / 0.7917 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.244e-05/0.6235, allocations: 56.14 kB / 0.7917 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.6236, allocations: 77.53 kB / 0.7918 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.6237, allocations: 95.94 kB / 0.7919 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6237, allocations: 0 / 0.7919 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002871/0.624, allocations: 191.1 kB / 0.7921 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.6241, allocations: 12.38 kB / 0.7921 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.6241, allocations: 0.7188 kB / 0.7921 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.6241, allocations: 3.797 kB / 0.7921 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.6242, allocations: 25.5 kB / 0.7921 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-06/0.6242, allocations: 0 / 0.7921 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.6243, allocations: 20.86 kB / 0.7921 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.6244, allocations: 5.812 kB / 0.7921 GB, free: 44.57 MB / 0.6544 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.0001059/0.6245, allocations: 153.1 kB / 0.7923 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.6245, allocations: 21.53 kB / 0.7923 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.317e-05/0.6246, allocations: 24.67 kB / 0.7923 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.6246, allocations: 3.719 kB / 0.7923 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6246, allocations: 1.062 kB / 0.7923 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6246, allocations: 3.094 kB / 0.7923 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.6248, allocations: 253.6 kB / 0.7926 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.6248, allocations: 0 / 0.7926 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.6248, allocations: 11.16 kB / 0.7926 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6248, allocations: 4.5 kB / 0.7926 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.6248, allocations: 0.8125 kB / 0.7926 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.6248, allocations: 6.375 kB / 0.7926 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6248, allocations: 0 / 0.7926 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.625, allocations: 137.3 kB / 0.7927 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.6251, allocations: 102.4 kB / 0.7928 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.6251, allocations: 3.938 kB / 0.7928 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.6252, allocations: 12.03 kB / 0.7928 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.6253, allocations: 11.95 kB / 0.7929 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.6253, allocations: 6.031 kB / 0.7929 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002075/0.6255, allocations: 235.1 kB / 0.7931 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6255, allocations: 0 / 0.7931 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000254/0.6257, allocations: 41.81 kB / 0.7931 GB, free: 43.97 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: 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.001014/0.6268, allocations: 415.8 kB / 0.7935 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.627, allocations: 110.8 kB / 0.7936 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.627, allocations: 4.328 kB / 0.7936 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.406e-05/0.6271, allocations: 37.03 kB / 0.7937 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.6275, allocations: 59.31 kB / 0.7937 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000613/0.6281, allocations: 404.6 kB / 0.7941 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.6283, allocations: 0.7461 MB / 0.7948 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.6284, allocations: 25.36 kB / 0.7949 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.6284, allocations: 0 / 0.7949 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of Templates: time 0.005064/0.6335, allocations: 3.076 MB / 0.7979 GB, free: 42.71 MB / 0.6544 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)