Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 249.3 MB / 261.8 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 182.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009437/0.0009436, allocations: 90.47 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.123e-05/4.127e-05, allocations: 11.97 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2069, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6971/0.904, allocations: 131.6 MB / 1.02 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.9043, allocations: 69.52 kB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002852/0.9072, allocations: 0.9628 MB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9072, allocations: 2.734 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.9072, allocations: 4 kB / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003805/0.9076, allocations: 345.1 kB / 1.022 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.9076, allocations: 11.97 kB / 1.022 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.9077, allocations: 7.906 kB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.9078, allocations: 174.8 kB / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.9079, allocations: 3.938 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.9079, allocations: 4 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.908, allocations: 52.61 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.908, allocations: 0 / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.908, allocations: 3.875 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.9081, allocations: 3.984 kB / 1.022 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.016e-05/0.9081, allocations: 27.5 kB / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.9085, allocations: 282.7 kB / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.998e-05/0.9087, allocations: 52.5 kB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.9087, allocations: 19.95 kB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.9087, allocations: 0 / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.9088, allocations: 34.69 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.9088, allocations: 0 / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001801/0.909, allocations: 69.22 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.909, allocations: 51.41 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/0.9091, allocations: 111.4 kB / 1.023 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.9091, allocations: 25.7 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.9092, allocations: 91.06 kB / 1.023 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.9092, allocations: 7.812 kB / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.9092, allocations: 3.125 kB / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.9093, allocations: 317.4 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.921e-05/0.9093, allocations: 14.25 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.9094, allocations: 15.67 kB / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.107e-05/0.9094, allocations: 7.25 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.9094, allocations: 0 / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001006/0.9095, allocations: 56.88 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.9095, allocations: 5.094 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.9095, allocations: 7.938 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.9096, allocations: 0 / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.9097, allocations: 11.98 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.9097, allocations: 4 kB / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.695e-05/0.9098, allocations: 11.98 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.9098, allocations: 7.453 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/0.9099, allocations: 108.9 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.9099, allocations: 11.83 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.91, allocations: 11.16 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.91, allocations: 0 / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.91, allocations: 0 / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.91, allocations: 4 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.9102, allocations: 177.8 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.9102, allocations: 8.859 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-05/0.9103, allocations: 11.98 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.9103, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.9103, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.9103, allocations: 4 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9103, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.9105, allocations: 167 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.9106, allocations: 85 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.9106, allocations: 0 / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.9107, allocations: 8 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.9108, allocations: 10.92 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.9108, allocations: 3.984 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.909e-05/0.9108, allocations: 86.66 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9108, allocations: 4 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002059/0.911, allocations: 15.44 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001936/0.9112, allocations: 99.25 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.9114, allocations: 35.42 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.9114, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.487e-05/0.9114, allocations: 18.31 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.9116, allocations: 7.938 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.9119, allocations: 89.23 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.9121, allocations: 0.6848 MB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.504e-05/0.9122, allocations: 4.25 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.9122, allocations: 11.44 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of SimCode: time 4.8e-07/0.9122, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of Templates: time 0.002702/0.915, allocations: 0.7543 MB / 1.025 GB, free: 13.8 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches