Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 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.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 103.3 kB / 16.27 MB, free: 6.344 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.002067/0.002067, allocations: 188.7 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 469.4 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 65.14 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.364, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004611/0.3686, allocations: 1.995 MB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002437/0.3711, allocations: 1.196 MB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/0.3714, allocations: 7.938 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005331/0.372, allocations: 163.4 kB / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004744/0.3725, allocations: 155.4 kB / 1.068 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.3732, allocations: 222.7 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004837/0.3737, allocations: 315.2 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.3739, allocations: 48.38 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.3742, allocations: 139.4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.3744, allocations: 151.4 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.3745, allocations: 12 kB / 1.069 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.3746, allocations: 55.97 kB / 1.069 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.3748, allocations: 91.67 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.3749, allocations: 119.2 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.3754, allocations: 363 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.3754, allocations: 3.984 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3754, allocations: 4 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.3755, allocations: 0 / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00127/0.3767, allocations: 0.6224 MB / 1.07 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3768, allocations: 12.62 kB / 1.07 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.3769, allocations: 32.56 kB / 1.07 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009334/0.3779, allocations: 374.1 kB / 1.07 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.3779, allocations: 11.94 kB / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.3779, allocations: 8 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.3784, allocations: 105.6 kB / 1.07 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3784, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.3784, allocations: 7.922 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.3785, allocations: 4 kB / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.3787, allocations: 59.95 kB / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.3801, allocations: 0.5081 MB / 1.071 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.3804, allocations: 122.8 kB / 1.071 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.3806, allocations: 56.77 kB / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.3806, allocations: 8 kB / 1.071 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003316/0.381, allocations: 111.3 kB / 1.071 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 3.687e-06/0.381, allocations: 0 / 1.071 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0005642/0.3815, allocations: 221.3 kB / 1.071 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3816, allocations: 51.41 kB / 1.071 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006172/0.3822, allocations: 0.5092 MB / 1.072 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.3823, allocations: 37.69 kB / 1.072 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.3824, allocations: 164.4 kB / 1.072 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.3825, allocations: 35.55 kB / 1.072 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.3826, allocations: 73.88 kB / 1.072 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3828, allocations: 342.8 kB / 1.072 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.383, allocations: 100.5 kB / 1.073 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.3832, allocations: 131.6 kB / 1.073 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.3836, allocations: 187.7 kB / 1.073 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3836, allocations: 4 kB / 1.073 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005497/0.3842, allocations: 313.2 kB / 1.073 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3842, allocations: 4 kB / 1.073 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3842, allocations: 7.938 kB / 1.073 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3842, allocations: 4.062 kB / 1.073 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.3845, allocations: 55.91 kB / 1.073 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.3845, allocations: 0 / 1.073 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.3846, allocations: 23.83 kB / 1.073 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.3847, allocations: 8 kB / 1.073 GB, free: 5.477 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002699/0.385, allocations: 182.2 kB / 1.073 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.385, allocations: 35.61 kB / 1.073 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.45e-05/0.3851, allocations: 43.06 kB / 1.074 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3851, allocations: 4 kB / 1.074 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3851, allocations: 0 / 1.074 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.3851, allocations: 0 / 1.074 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.3855, allocations: 305.3 kB / 1.074 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3855, allocations: 0 / 1.074 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.3856, allocations: 11.94 kB / 1.074 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.3856, allocations: 4 kB / 1.074 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.3857, allocations: 15.86 kB / 1.074 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3857, allocations: 0 / 1.074 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3857, allocations: 4 kB / 1.074 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.3861, allocations: 209.5 kB / 1.074 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.324e-05/0.3862, allocations: 112.7 kB / 1.074 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.3862, allocations: 7.938 kB / 1.074 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3863, allocations: 7.984 kB / 1.074 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.3864, allocations: 15.98 kB / 1.074 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.3864, allocations: 15.98 kB / 1.074 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000362/0.3868, allocations: 315.1 kB / 1.075 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3868, allocations: 4 kB / 1.075 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003136/0.3871, allocations: 55.91 kB / 1.075 GB, free: 4.059 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001077/0.3882, allocations: 411.9 kB / 1.075 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005191/0.3887, allocations: 203.8 kB / 1.075 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3888, allocations: 0 / 1.075 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.3889, allocations: 59.91 kB / 1.075 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.3894, allocations: 93.45 kB / 1.075 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009716/0.3904, allocations: 0.5634 MB / 1.076 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.3909, allocations: 0.787 MB / 1.077 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.18e-05/0.391, allocations: 39.42 kB / 1.077 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.391, allocations: 0 / 1.077 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.49/0.8811, allocations: 4.379 MB / 1.081 GB, free: 21.1 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches