Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001967/0.001967, allocations: 110.2 kB / 16.46 MB, free: 6.508 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.002184/0.002184, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.474/1.474, allocations: 230.6 MB / 252.8 MB, free: 9.09 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.17/3.17, allocations: 0.49 GB / 0.7916 GB, free: 33.39 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.LessThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.002034/0.002034, allocations: 66.41 kB / 1.149 GB, free: 26.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3901, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002142/0.3922, allocations: 0.7159 MB / 1.322 GB, free: 2.621 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.3935, allocations: 0.867 MB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.3935, allocations: 0 / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.3935, allocations: 3.938 kB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.977e-05/0.3936, allocations: 7.922 kB / 1.322 GB, free: 1.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.3938, allocations: 23.97 kB / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.3939, allocations: 47.84 kB / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.394, allocations: 8 kB / 1.322 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.072e-05/0.3941, allocations: 27.91 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.419e-05/0.3941, allocations: 23.91 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.3942, allocations: 4 kB / 1.323 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.3942, allocations: 4 kB / 1.323 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.3942, allocations: 8 kB / 1.323 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.3942, allocations: 23.86 kB / 1.323 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.3944, allocations: 56 kB / 1.323 GB, free: 1.508 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3944, allocations: 0 / 1.323 GB, free: 1.508 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3944, allocations: 0 / 1.323 GB, free: 1.508 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.3944, allocations: 0 / 1.323 GB, free: 1.508 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006454/0.395, allocations: 355.3 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.3951, allocations: 15.98 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.375e-05/0.3951, allocations: 38.75 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.3952, allocations: 8.875 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.3954, allocations: 168.3 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.3954, allocations: 4.375 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3954, allocations: 4.125 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.3956, allocations: 69.64 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3956, allocations: 0 / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3957, allocations: 7.938 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3957, allocations: 0 / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.3959, allocations: 59.88 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005299/0.3964, allocations: 292.8 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.3966, allocations: 66.47 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.3968, allocations: 28.91 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3968, allocations: 4 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.3968, allocations: 30.56 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3968, allocations: 0 / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004673/0.3973, allocations: 109.6 kB / 1.324 GB, free: 96 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.3973, allocations: 51.41 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.3974, allocations: 113.8 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3975, allocations: 25.7 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.3975, allocations: 84.14 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.3976, allocations: 15.89 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.3976, allocations: 21.66 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3978, allocations: 318.8 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.3979, allocations: 23.97 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.398, allocations: 27.97 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.3982, allocations: 52.81 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3982, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002545/0.3984, allocations: 81.66 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.3985, allocations: 4 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3985, allocations: 0 / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3985, allocations: 0 / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.3986, allocations: 19.92 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3986, allocations: 0 / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-05/0.3987, allocations: 23.81 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3987, allocations: 3.938 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.697e-05/0.3988, allocations: 117.8 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.3988, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.3989, allocations: 3.906 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3989, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3989, allocations: 8 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3989, allocations: 0 / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.3991, allocations: 181.6 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3991, allocations: 0 / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.975e-05/0.3992, allocations: 11.98 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3992, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3992, allocations: 4 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3992, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3992, allocations: 320 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.3995, allocations: 191.7 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.3996, allocations: 77.16 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.3996, allocations: 7.922 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.3997, allocations: 11.98 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.3998, allocations: 11.98 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3998, allocations: 4 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.858e-05/0.3999, allocations: 95.19 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3999, allocations: 8 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002182/0.4001, allocations: 4 kB / 1.325 GB, free: 14.36 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: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0006757/0.4007, allocations: 0.7124 MB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.401, allocations: 63.88 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.401, allocations: 0 / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.4011, allocations: 23.98 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.4014, allocations: 11.98 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.4033, allocations: 1.327 MB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.4036, allocations: 0.6807 MB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.968e-05/0.4036, allocations: 4 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.4037, allocations: 19.42 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4037, allocations: 3.938 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.4292, allocations: 1.839 MB / 1.33 GB, free: 9.656 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.436, allocations: 11.75 kB / 1.33 GB, free: 9.648 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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: 15.15461607486941]