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.008046/0.008046, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001916/0.001917, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.527/2.527, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.84 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.274, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003245/0.2773, allocations: 2.001 MB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002033/0.2794, allocations: 1.193 MB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.2796, allocations: 4 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004841/0.2801, allocations: 159.4 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004452/0.2806, allocations: 155.4 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006399/0.2812, allocations: 226.9 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.2817, allocations: 319.1 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2818, allocations: 44.38 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.2821, allocations: 155.4 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.2823, allocations: 139.5 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.2824, allocations: 23.94 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.2825, allocations: 63.89 kB / 1.171 GB, free: 2.809 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.2826, allocations: 83.73 kB / 1.171 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.2828, allocations: 131.1 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.2832, allocations: 358.7 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2832, allocations: 3.984 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2832, allocations: 0 / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.2832, allocations: 4 kB / 1.171 GB, free: 2.238 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.001059/0.2843, allocations: 0.6455 MB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2843, allocations: 8.031 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.2844, allocations: 38.75 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.2845, allocations: 32.75 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005414/0.285, allocations: 382.1 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.2851, allocations: 7.984 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.2851, allocations: 12 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.2853, allocations: 101.6 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2854, allocations: 0 / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.2854, allocations: 12 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2854, allocations: 0 / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.2856, allocations: 63.86 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007881/0.2864, allocations: 0.4887 MB / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.2867, allocations: 138.8 kB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.2868, allocations: 44.83 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.2869, allocations: 4 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.2871, allocations: 119.3 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.2871, allocations: 0 / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005319/0.2877, allocations: 226.6 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.2877, allocations: 55.39 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/0.2883, allocations: 0.5054 MB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.2883, allocations: 25.7 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.2884, allocations: 176.3 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.2885, allocations: 35.73 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.2886, allocations: 69.92 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2887, allocations: 354.8 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.2889, allocations: 100.5 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.2891, allocations: 139.5 kB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.2895, allocations: 176 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2895, allocations: 0 / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005319/0.29, allocations: 325.3 kB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.29, allocations: 17.91 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2901, allocations: 0 / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2901, allocations: 0 / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.2903, allocations: 51.91 kB / 1.175 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2903, allocations: 0 / 1.175 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.2905, allocations: 19.94 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.2905, allocations: 12 kB / 1.175 GB, free: 13.66 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.0001702/0.2907, allocations: 197.7 kB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.2907, allocations: 35.7 kB / 1.176 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/0.2908, allocations: 35.12 kB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2908, allocations: 0 / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2908, allocations: 3.984 kB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2908, allocations: 0 / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.2911, allocations: 293.5 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2911, allocations: 0 / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.287e-05/0.2912, allocations: 23.92 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2912, allocations: 7.938 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.2912, allocations: 3.984 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2912, allocations: 4 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2912, allocations: 0 / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.2916, allocations: 208.2 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.256e-05/0.2917, allocations: 112.8 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.2917, allocations: 8 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.2919, allocations: 11.98 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.2919, allocations: 23.98 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.292, allocations: 7.984 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003201/0.2923, allocations: 315.1 kB / 1.177 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.322e-06/0.2923, allocations: 0 / 1.177 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002908/0.2926, allocations: 67.81 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.001417/0.294, allocations: 1.05 MB / 1.178 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004004/0.2944, allocations: 195.8 kB / 1.178 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2944, allocations: 0 / 1.178 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.2946, allocations: 55.97 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.295, allocations: 104.8 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.003587/0.2986, allocations: 3.116 MB / 1.181 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.299, allocations: 0.7947 MB / 1.182 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001435/0.2991, allocations: 54.94 kB / 1.182 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.2993, allocations: 111.3 kB / 1.182 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of SimCode: time 3.9e-07/0.2993, allocations: 3.938 kB / 1.182 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.3217, allocations: 7.145 MB / 1.189 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.248, allocations: 9.234 kB / 1.189 GB, free: 15.78 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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