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.001348/0.001347, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001389/0.001389, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.327/1.327, allocations: 222.9 MB / 239.9 MB, free: 4.539 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 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 63.91 kB / 0.8689 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6732/0.6748, allocations: 151.6 MB / 1.017 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003475/0.6783, allocations: 2.054 MB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.6804, allocations: 1.193 MB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.6806, allocations: 4 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.6811, allocations: 151.5 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000398/0.6815, allocations: 139.6 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.6821, allocations: 200.8 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004385/0.6825, allocations: 311.2 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.6827, allocations: 48.3 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.683, allocations: 147.3 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.6831, allocations: 151.4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.6832, allocations: 16 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.6833, allocations: 63.89 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.661e-05/0.6834, allocations: 83.75 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.6836, allocations: 135.1 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.684, allocations: 357 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.684, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.894e-06/0.684, allocations: 4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.684, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 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.0009855/0.685, allocations: 0.6303 MB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.685, allocations: 8.031 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.6851, allocations: 38.75 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.824e-05/0.6852, allocations: 36.47 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.6857, allocations: 370 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.6857, allocations: 12 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.6857, allocations: 4 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.686, allocations: 117.5 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.686, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.686, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.686, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.6862, allocations: 66.23 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000744/0.687, allocations: 0.4926 MB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.6873, allocations: 130.7 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.6874, allocations: 52.83 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.6874, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.6877, allocations: 107.5 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.634e-06/0.6877, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005176/0.6882, allocations: 226.8 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.6883, allocations: 51.41 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005376/0.6888, allocations: 0.517 MB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.6888, allocations: 29.7 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.689, allocations: 172.4 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.689, allocations: 31.56 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.6891, allocations: 73.95 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6893, allocations: 338.8 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.6895, allocations: 104.5 kB / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.6897, allocations: 135.6 kB / 1.025 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.69, allocations: 178.5 kB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.69, allocations: 4 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005449/0.6905, allocations: 314.6 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6906, allocations: 11.92 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6906, allocations: 8.062 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.6906, allocations: 4 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.6908, allocations: 55.91 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.6908, allocations: 0 / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.691, allocations: 19.84 kB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.691, allocations: 11.98 kB / 1.026 GB, free: 9.059 MB / 0.7794 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.0001732/0.6912, allocations: 182.2 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.6913, allocations: 35.56 kB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.786e-05/0.6913, allocations: 39.12 kB / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6914, allocations: 4 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6914, allocations: 0 / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6914, allocations: 3.984 kB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.6916, allocations: 301.4 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6916, allocations: 0 / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.547e-05/0.6917, allocations: 15.92 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.6917, allocations: 7.922 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.6918, allocations: 4 kB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6918, allocations: 3.938 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6918, allocations: 0 / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.6921, allocations: 205.6 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.673e-05/0.6922, allocations: 120.7 kB / 1.027 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.6923, allocations: 11.88 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.6924, allocations: 7.984 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.6924, allocations: 15.98 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.6925, allocations: 8 kB / 1.027 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002992/0.6928, allocations: 323.1 kB / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6928, allocations: 0 / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000274/0.693, allocations: 52 kB / 1.027 GB, free: 7.652 MB / 0.7794 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.001451/0.6945, allocations: 1.066 MB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004155/0.6949, allocations: 204 kB / 1.029 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6949, allocations: 0 / 1.029 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.6951, allocations: 55.97 kB / 1.029 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.6955, allocations: 82.12 kB / 1.029 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.6993, allocations: 3.185 MB / 1.032 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.6996, allocations: 0.787 MB / 1.033 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001545/0.6998, allocations: 54.95 kB / 1.033 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.6999, allocations: 107.4 kB / 1.033 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6999, allocations: 0 / 1.033 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6296/1.33, allocations: 6.917 MB / 1.039 GB, free: 11.38 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/1.33, allocations: 241.6 kB / 1.04 GB, free: 11.12 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.579/4.909, allocations: 0 / 1.04 GB, free: 11.12 MB / 0.795 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=50 --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