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.LessEqual.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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.373/1.373, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001266/0.001266, allocations: 168.4 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.196/2.196, allocations: 205.4 MB / 0.5775 GB, free: 20.18 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.0008797/0.0008797, allocations: 88.08 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003542, allocations: 10.97 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2267, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1765/0.4033, allocations: 131.8 MB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4036, allocations: 75.95 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004501/0.4081, allocations: 1.469 MB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4081, allocations: 0 / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.4082, allocations: 0 / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005675/0.4087, allocations: 391.1 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4088, allocations: 8.031 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.4088, allocations: 7.906 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.409, allocations: 182.8 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.409, allocations: 8 kB / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.4091, allocations: 11.92 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.4094, allocations: 115.9 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.4094, allocations: 0 / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.4094, allocations: 4 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.4094, allocations: 4 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.4098, allocations: 111.9 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.4104, allocations: 352.6 kB / 1.031 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.411, allocations: 130.5 kB / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.411, allocations: 8.141 kB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.4111, allocations: 34.56 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.4111, allocations: 0 / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006999/0.4118, allocations: 213.5 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.4118, allocations: 55.36 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.4119, allocations: 113 kB / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.412, allocations: 29.7 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.412, allocations: 92.08 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.4121, allocations: 23.64 kB / 1.032 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/0.4121, allocations: 4 kB / 1.032 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4122, allocations: 318.8 kB / 1.032 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.4125, allocations: 55.89 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.4126, allocations: 59.95 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.4128, allocations: 55.89 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4128, allocations: 0 / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004035/0.4133, allocations: 161.5 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4133, allocations: 12 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4133, allocations: 0 / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4133, allocations: 0 / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.4135, allocations: 27.97 kB / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.4135, allocations: 3.953 kB / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.4136, allocations: 19.98 kB / 1.033 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.4137, allocations: 4 kB / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.u1,intLesEqu.u2,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001153/0.4138, allocations: 122.6 kB / 1.033 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.4138, allocations: 3.906 kB / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.4139, allocations: 16.38 kB / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4139, allocations: 0 / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.4139, allocations: 0 / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4139, allocations: 3.953 kB / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.4141, allocations: 197.6 kB / 1.033 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4141, allocations: 4 kB / 1.033 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.4143, allocations: 27.97 kB / 1.033 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4143, allocations: 0 / 1.033 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.4143, allocations: 4 kB / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4143, allocations: 0 / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4143, allocations: 4 kB / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/0.4149, allocations: 259.2 kB / 1.033 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.379e-05/0.4149, allocations: 93.05 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.415, allocations: 0 / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.4151, allocations: 19.97 kB / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/0.4152, allocations: 23.97 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.4152, allocations: 0 / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.151e-05/0.4153, allocations: 99.64 kB / 1.034 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4153, allocations: 0 / 1.034 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002333/0.4156, allocations: 19.91 kB / 1.034 GB, free: 6.586 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.u1,intLesEqu.u2,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001933/0.4158, allocations: 103.9 kB / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004465/0.4162, allocations: 127.8 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4162, allocations: 0 / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.4165, allocations: 72.73 kB / 1.034 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.4168, allocations: 26.8 kB / 1.034 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.4173, allocations: 183.2 kB / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.4177, allocations: 0.6965 MB / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.959e-05/0.4178, allocations: 12.19 kB / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.4179, allocations: 19.42 kB / 1.035 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of SimCode: time 4.81e-07/0.4179, allocations: 0 / 1.035 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of Templates: time 0.00381/0.4217, allocations: 1.302 MB / 1.036 GB, free: 3.996 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches