Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 105.2 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002466/0.002466, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.535/1.535, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.243/3.243, allocations: 0.49 GB / 0.7916 GB, free: 33.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 64.09 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3631, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003962/0.367, allocations: 2.048 MB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002565/0.3696, allocations: 1.353 MB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.3697, allocations: 7.875 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004599/0.3702, allocations: 159.4 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005287/0.3707, allocations: 199.2 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.3711, allocations: 163.5 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.3716, allocations: 339 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.3718, allocations: 40.94 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.3721, allocations: 163.4 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.3723, allocations: 163.3 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.3724, allocations: 16 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.3725, allocations: 59.95 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.3727, allocations: 99.61 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.3728, allocations: 123.1 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005435/0.3734, allocations: 382.3 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.3734, allocations: 8 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3734, allocations: 0 / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.3734, allocations: 0 / 1.326 GB, free: 14.01 MB / 1.029 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.001378/0.3748, allocations: 0.6455 MB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.3748, allocations: 11.98 kB / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.74e-05/0.3749, allocations: 42.73 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.375, allocations: 36.7 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006923/0.3757, allocations: 394 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.3757, allocations: 15.89 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.3757, allocations: 4 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.376, allocations: 107.7 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.376, allocations: 0 / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.3761, allocations: 0 / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.3761, allocations: 7.938 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.3763, allocations: 59.89 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.3773, allocations: 0.4966 MB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.3777, allocations: 134.6 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.3778, allocations: 40.84 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.3778, allocations: 4 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.3781, allocations: 123.2 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.3781, allocations: 0 / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006161/0.3787, allocations: 232.2 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.3788, allocations: 51.41 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/0.3795, allocations: 0.5288 MB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.3795, allocations: 29.7 kB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.3796, allocations: 172.5 kB / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.3797, allocations: 35.73 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.3798, allocations: 69.92 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.38, allocations: 350.8 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.3802, allocations: 100.5 kB / 1.33 GB, free: 10.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.3805, allocations: 131.6 kB / 1.33 GB, free: 9.992 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.3809, allocations: 183 kB / 1.33 GB, free: 9.805 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3809, allocations: 0 / 1.33 GB, free: 9.805 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007096/0.3816, allocations: 333.2 kB / 1.33 GB, free: 9.473 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.3816, allocations: 7.938 kB / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3816, allocations: 4 kB / 1.33 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.3816, allocations: 4.062 kB / 1.33 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.3819, allocations: 55.91 kB / 1.33 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.3819, allocations: 4 kB / 1.33 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.3821, allocations: 23.88 kB / 1.33 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.3822, allocations: 11.98 kB / 1.33 GB, free: 9.363 MB / 1.029 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.0002454/0.3824, allocations: 185.5 kB / 1.33 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.3825, allocations: 39.7 kB / 1.33 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.603e-05/0.3826, allocations: 39.25 kB / 1.331 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.3826, allocations: 4 kB / 1.331 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3826, allocations: 0 / 1.331 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3826, allocations: 4 kB / 1.331 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.3829, allocations: 305.4 kB / 1.331 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.3829, allocations: 0 / 1.331 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.336e-05/0.383, allocations: 11.98 kB / 1.331 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.383, allocations: 3.938 kB / 1.331 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.383, allocations: 4 kB / 1.331 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.383, allocations: 0 / 1.331 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.383, allocations: 0 / 1.331 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.3835, allocations: 216.8 kB / 1.331 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.3836, allocations: 124.8 kB / 1.331 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.3836, allocations: 0 / 1.331 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3837, allocations: 19.92 kB / 1.331 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.3838, allocations: 11.98 kB / 1.331 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3838, allocations: 8 kB / 1.331 GB, free: 8.309 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004044/0.3842, allocations: 323.1 kB / 1.332 GB, free: 7.992 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3842, allocations: 4 kB / 1.332 GB, free: 7.988 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003412/0.3846, allocations: 63.88 kB / 1.332 GB, free: 7.926 MB / 1.029 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.002439/0.387, allocations: 1.059 MB / 1.333 GB, free: 6.996 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004828/0.3875, allocations: 191.8 kB / 1.333 GB, free: 6.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3875, allocations: 0 / 1.333 GB, free: 6.809 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.3877, allocations: 55.91 kB / 1.333 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.3882, allocations: 98.34 kB / 1.333 GB, free: 6.668 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.3928, allocations: 3.188 MB / 1.336 GB, free: 3.391 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.3933, allocations: 0.7871 MB / 1.337 GB, free: 2.578 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.3935, allocations: 62.94 kB / 1.337 GB, free: 2.516 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.3937, allocations: 111.4 kB / 1.337 GB, free: 2.41 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.3937, allocations: 0 / 1.337 GB, free: 2.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03607/0.4297, allocations: 7.363 MB / 1.344 GB, free: 11.14 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.729/9.159, allocations: 18.28 kB / 1.344 GB, free: 11.12 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.010974016971886]