Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_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.00519/0.00519, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.001471/0.001471, allocations: 196 kB / 16.67 MB, free: 6.355 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437.1 MB / 0.7106 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 67.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2616, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003125/0.2648, allocations: 2 MB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2666, allocations: 1.197 MB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.305e-05/0.2667, allocations: 7.938 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.2671, allocations: 159.5 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.2674, allocations: 155.3 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.2679, allocations: 226.8 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.2683, allocations: 315.1 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.2684, allocations: 52.36 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.2686, allocations: 135.5 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.2688, allocations: 147.4 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.2688, allocations: 16 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.269, allocations: 59.97 kB / 1.171 GB, free: 2.805 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.2691, allocations: 95.61 kB / 1.171 GB, free: 2.711 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.2692, allocations: 123.2 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.2696, allocations: 366.6 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2696, allocations: 4 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2696, allocations: 0 / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.2697, allocations: 0 / 1.171 GB, free: 2.227 MB / 0.92 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.000894/0.2706, allocations: 0.6416 MB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2706, allocations: 12.03 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.2706, allocations: 34.75 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.2707, allocations: 36.75 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/0.2712, allocations: 382 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.2712, allocations: 8 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.2712, allocations: 8 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.2715, allocations: 107.2 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2715, allocations: 4 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2715, allocations: 0 / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2715, allocations: 0 / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.2717, allocations: 71.86 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007377/0.2724, allocations: 0.4887 MB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.2728, allocations: 138.7 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.2729, allocations: 56.83 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.2729, allocations: 0 / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.2732, allocations: 111.2 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.2732, allocations: 0 / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005158/0.2737, allocations: 228.8 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.2738, allocations: 59.41 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005546/0.2743, allocations: 0.5054 MB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2743, allocations: 29.7 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.2745, allocations: 172.4 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.2745, allocations: 27.75 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.2746, allocations: 77.91 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2748, allocations: 346.8 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.275, allocations: 104.5 kB / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.2752, allocations: 135.6 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.2755, allocations: 184 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2755, allocations: 4 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005282/0.2761, allocations: 321.4 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2761, allocations: 11.94 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2761, allocations: 0 / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2761, allocations: 4 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.2764, allocations: 51.91 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/0.2764, allocations: 4 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.2765, allocations: 11.95 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.2765, allocations: 11.98 kB / 1.175 GB, free: 13.65 MB / 0.9356 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.0001774/0.2767, allocations: 193.6 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.2768, allocations: 35.7 kB / 1.176 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.2768, allocations: 39.12 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2769, allocations: 0 / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2769, allocations: 4 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.2769, allocations: 3.984 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.2772, allocations: 289.5 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2772, allocations: 0 / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-05/0.2772, allocations: 15.98 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2773, allocations: 3.938 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.2773, allocations: 8 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2773, allocations: 4 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.2773, allocations: 3.984 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.2777, allocations: 204.8 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.589e-05/0.2778, allocations: 116.8 kB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.2778, allocations: 8 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.2779, allocations: 7.984 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.278, allocations: 15.98 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.278, allocations: 12 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003343/0.2784, allocations: 315.1 kB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2784, allocations: 7.875 kB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002756/0.2786, allocations: 59.88 kB / 1.177 GB, free: 12.24 MB / 0.9356 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.001958/0.2806, allocations: 1.058 MB / 1.178 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003982/0.281, allocations: 195.9 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.281, allocations: 0 / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.2812, allocations: 67.78 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.2817, allocations: 91.72 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/0.2854, allocations: 3.117 MB / 1.181 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.2858, allocations: 0.7909 MB / 1.182 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.2859, allocations: 58.88 kB / 1.182 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.2861, allocations: 107.4 kB / 1.182 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.2861, allocations: 4 kB / 1.182 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.274/1.56, allocations: 7.15 MB / 1.189 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/16, allocations: 6.344 kB / 1.189 GB, free: 15.77 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches