Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.41/2.41, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 199.5 kB / 0.4902 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.698/1.698, allocations: 223.2 MB / 0.7992 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009228/0.0009232, allocations: 102.8 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004228, allocations: 13.69 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3142, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/0.5081, allocations: 149.9 MB / 1.376 GB, free: 3.691 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.5084, allocations: 71.95 kB / 1.376 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002911/0.5113, allocations: 0.9509 MB / 1.377 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5113, allocations: 0 / 1.377 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.5113, allocations: 0 / 1.377 GB, free: 2.664 MB / 0.8698 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.0005572/0.5119, allocations: 363.2 kB / 1.377 GB, free: 2.262 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.512, allocations: 8.562 kB / 1.377 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.512, allocations: 11.92 kB / 1.377 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.5122, allocations: 170.9 kB / 1.377 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.5123, allocations: 4 kB / 1.377 GB, free: 2.031 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.5123, allocations: 4 kB / 1.377 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.5125, allocations: 73.66 kB / 1.377 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.5126, allocations: 0 / 1.377 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.5126, allocations: 3.938 kB / 1.377 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.5126, allocations: 0 / 1.377 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.5129, allocations: 67.89 kB / 1.377 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.5134, allocations: 280.8 kB / 1.378 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.5136, allocations: 70.53 kB / 1.378 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.5137, allocations: 8 kB / 1.378 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.5137, allocations: 34.59 kB / 1.378 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.5137, allocations: 0 / 1.378 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004981/0.5142, allocations: 125.7 kB / 1.378 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.5143, allocations: 55.36 kB / 1.378 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.81e-05/0.5144, allocations: 101 kB / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.5144, allocations: 25.7 kB / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.5145, allocations: 88.14 kB / 1.378 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.5145, allocations: 7.844 kB / 1.378 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.5145, allocations: 0 / 1.378 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.5147, allocations: 326.8 kB / 1.378 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.5148, allocations: 23.98 kB / 1.378 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.5149, allocations: 31.91 kB / 1.378 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.515, allocations: 31.98 kB / 1.378 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.515, allocations: 3.938 kB / 1.378 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002997/0.5153, allocations: 97.55 kB / 1.379 GB, free: 488 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.5154, allocations: 4 kB / 1.379 GB, free: 484 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.5154, allocations: 4 kB / 1.379 GB, free: 480 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.5154, allocations: 0 / 1.379 GB, free: 480 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.5156, allocations: 15.98 kB / 1.379 GB, free: 464 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.5156, allocations: 0 / 1.379 GB, free: 464 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.524e-05/0.5157, allocations: 15.94 kB / 1.379 GB, free: 448 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.5157, allocations: 0 / 1.379 GB, free: 448 kB / 0.8698 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 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Number of clocked 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 0.0001322/0.5159, allocations: 117.8 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.5159, allocations: 7.938 kB / 1.379 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.5159, allocations: 8.234 kB / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5159, allocations: 0 / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.516, allocations: 0 / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.516, allocations: 3.984 kB / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.5162, allocations: 185.5 kB / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5162, allocations: 0 / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.765e-05/0.5163, allocations: 11.98 kB / 1.379 GB, free: 52 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.5163, allocations: 0 / 1.379 GB, free: 52 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.5163, allocations: 4 kB / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.5163, allocations: 4 kB / 1.379 GB, free: 44 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5163, allocations: 4 kB / 1.379 GB, free: 40 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.5167, allocations: 187.5 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.5168, allocations: 89.05 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.5168, allocations: 0 / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.5169, allocations: 11.98 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.743e-05/0.517, allocations: 15.92 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.517, allocations: 0 / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.509e-05/0.5171, allocations: 87.27 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5171, allocations: 4 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002323/0.5173, allocations: 11.91 kB / 1.379 GB, free: 15.61 MB / 0.8855 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 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Number of clocked 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.0001641/0.5175, allocations: 104 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002647/0.5177, allocations: 67.94 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5178, allocations: 4 kB / 1.379 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.5179, allocations: 39.91 kB / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.5181, allocations: 8.812 kB / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.5185, allocations: 138.2 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.5187, allocations: 0.6887 MB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.023e-05/0.5188, allocations: 4 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.5188, allocations: 19.42 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of SimCode: time 4.41e-07/0.5188, allocations: 0 / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of Templates: time 0.002841/0.5217, allocations: 0.7278 MB / 1.381 GB, free: 13.75 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches