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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 187.7 kB / 16.62 MB, free: 6.613 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.497/1.497, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.725/1.725, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001483/0.001484, allocations: 69.81 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.257, allocations: 114.5 MB / 0.7836 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.003292/0.2603, allocations: 1.953 MB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.262, allocations: 1.027 MB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.2621, allocations: 7.938 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004112/0.2626, allocations: 103.5 kB / 0.7867 GB, free: 10.1 MB / 0.6075 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.0002591/0.2628, allocations: 95.58 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.2632, allocations: 126.8 kB / 0.7869 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.2635, allocations: 223.4 kB / 0.7871 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.2636, allocations: 53.91 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.2638, allocations: 95.55 kB / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.2639, allocations: 99.59 kB / 0.7873 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.264, allocations: 12 kB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.2641, allocations: 67.91 kB / 0.7874 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.2642, allocations: 59.77 kB / 0.7875 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.2643, allocations: 95.39 kB / 0.7875 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.2646, allocations: 283.3 kB / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2647, allocations: 0 / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2647, allocations: 0 / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.2647, allocations: 0 / 0.7878 GB, free: 8.914 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008031/0.2655, allocations: 0.5411 MB / 0.7883 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2655, allocations: 8.031 kB / 0.7884 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.2656, allocations: 38.75 kB / 0.7884 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.2656, allocations: 24.66 kB / 0.7884 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.266, allocations: 311.7 kB / 0.7887 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.2661, allocations: 12.12 kB / 0.7887 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.2661, allocations: 8 kB / 0.7887 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.2663, allocations: 89.66 kB / 0.7888 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2663, allocations: 0 / 0.7888 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2663, allocations: 3.984 kB / 0.7888 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.2663, allocations: 0 / 0.7888 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.2665, allocations: 51.98 kB / 0.7889 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006624/0.2672, allocations: 448.4 kB / 0.7893 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.2674, allocations: 82.59 kB / 0.7894 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/0.2675, allocations: 28.84 kB / 0.7894 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.2675, allocations: 4 kB / 0.7894 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.2677, allocations: 79.31 kB / 0.7895 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2677, allocations: 0 / 0.7895 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003256/0.268, allocations: 137.3 kB / 0.7896 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.2681, allocations: 51.41 kB / 0.7897 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.2684, allocations: 378.9 kB / 0.79 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.2684, allocations: 25.7 kB / 0.79 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.597e-05/0.2685, allocations: 144 kB / 0.7902 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.2686, allocations: 15.81 kB / 0.7902 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.2686, allocations: 45.61 kB / 0.7902 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2688, allocations: 334.8 kB / 0.7906 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.2689, allocations: 59.97 kB / 0.7906 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.269, allocations: 80.28 kB / 0.7907 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.2692, allocations: 96.73 kB / 0.7908 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2692, allocations: 0 / 0.7908 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002973/0.2695, allocations: 193.3 kB / 0.791 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.2695, allocations: 4 kB / 0.791 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2695, allocations: 0 / 0.791 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2695, allocations: 4 kB / 0.791 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.2696, allocations: 23.92 kB / 0.791 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2697, allocations: 4.031 kB / 0.791 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.874e-05/0.2698, allocations: 19.88 kB / 0.791 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.2698, allocations: 7.984 kB / 0.791 GB, free: 5.371 MB / 0.6075 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.0001395/0.2699, allocations: 152.3 kB / 0.7912 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.27, allocations: 27.66 kB / 0.7912 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.27, allocations: 25.73 kB / 0.7912 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.27, allocations: 0 / 0.7912 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2701, allocations: 0 / 0.7912 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2701, allocations: 7.938 kB / 0.7912 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.2703, allocations: 249.5 kB / 0.7915 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2703, allocations: 7.938 kB / 0.7915 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.2703, allocations: 4 kB / 0.7915 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2703, allocations: 0 / 0.7915 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.2703, allocations: 7.984 kB / 0.7915 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2703, allocations: 4 kB / 0.7915 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2703, allocations: 0 / 0.7915 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.2705, allocations: 132.8 kB / 0.7916 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.2706, allocations: 100.9 kB / 0.7917 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.2707, allocations: 7.984 kB / 0.7917 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.2707, allocations: 4 kB / 0.7917 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.2708, allocations: 15.98 kB / 0.7917 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.2708, allocations: 3.984 kB / 0.7918 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002172/0.271, allocations: 233.9 kB / 0.792 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.271, allocations: 3.938 kB / 0.792 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002533/0.2713, allocations: 43.84 kB / 0.792 GB, free: 4.27 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: 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.001319/0.2726, allocations: 0.9881 MB / 0.793 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.2729, allocations: 99.89 kB / 0.7931 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.2729, allocations: 4 kB / 0.7931 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/0.273, allocations: 43.97 kB / 0.7931 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.2733, allocations: 46.64 kB / 0.7932 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.2758, allocations: 2.352 MB / 0.7955 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.2762, allocations: 0.7476 MB / 0.7962 GB, free: 4 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.2763, allocations: 30.08 kB / 0.7962 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.2764, allocations: 75.34 kB / 0.7963 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.2764, allocations: 4 kB / 0.7963 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.3, allocations: 5.131 MB / 0.8013 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.226, allocations: 14.94 kB / 0.8013 GB, free: 10.87 MB / 0.6231 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)