Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001742/0.001742, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002231/0.002231, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.797 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.264/3.264, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 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.Reals.Validation.Less,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_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.002116/0.002116, allocations: 66.89 kB / 1.153 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3835, allocations: 176.1 MB / 1.325 GB, free: 2.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002391/0.3859, allocations: 0.8409 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.3875, allocations: 0.925 MB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.3877, allocations: 7.938 kB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.3878, allocations: 11.86 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6e-05/0.3879, allocations: 7.875 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.3882, allocations: 43.89 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.3884, allocations: 103.7 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.3885, allocations: 27.98 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.3887, allocations: 47.78 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.927e-05/0.3888, allocations: 39.83 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.3889, allocations: 8 kB / 1.327 GB, free: 232 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.821e-05/0.3889, allocations: 15.94 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.3889, allocations: 15.98 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.389, allocations: 31.8 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.3892, allocations: 107.8 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3892, allocations: 0 / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3892, allocations: 0 / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.3892, allocations: 0 / 1.327 GB, free: 60 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007282/0.39, allocations: 337.9 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.39, allocations: 12.03 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.299e-05/0.3901, allocations: 38.73 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.3902, allocations: 20.88 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.3906, allocations: 154.2 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3906, allocations: 4.375 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.3906, allocations: 12.38 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.3909, allocations: 94.2 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3909, allocations: 7.875 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3909, allocations: 0 / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3909, allocations: 4 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.3912, allocations: 71.88 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006087/0.3918, allocations: 299.7 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.392, allocations: 70.47 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.3921, allocations: 36.92 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3922, allocations: 0 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.3922, allocations: 30.56 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.3922, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004578/0.3927, allocations: 121.6 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.3927, allocations: 55.34 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.3929, allocations: 139.3 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.3929, allocations: 25.7 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.393, allocations: 112 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.393, allocations: 7.953 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.393, allocations: 21.7 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3932, allocations: 314.8 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.3933, allocations: 31.97 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.3934, allocations: 39.97 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.3936, allocations: 52.81 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3936, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002773/0.3939, allocations: 101.5 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3939, allocations: 9.562 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3939, allocations: 0 / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.394, allocations: 0 / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3941, allocations: 11.98 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3941, allocations: 7.922 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.3942, allocations: 19.97 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.3942, allocations: 0 / 1.329 GB, free: 13.64 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: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001064/0.3943, allocations: 118.4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.3943, allocations: 7.953 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.3944, allocations: 12.34 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3944, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3944, allocations: 8.109 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3944, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.3946, allocations: 156.7 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3946, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.349e-05/0.3947, allocations: 11.98 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3947, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3947, allocations: 4.125 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3947, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.3947, allocations: 15.88 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.3951, allocations: 195.4 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.3951, allocations: 7.953 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.3951, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.3952, allocations: 11.98 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.3953, allocations: 19.91 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.3953, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.936e-05/0.3954, allocations: 107.3 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.3954, allocations: 0 / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002418/0.3956, allocations: 15.89 kB / 1.33 GB, free: 12.88 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * 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.0007172/0.3964, allocations: 0.7163 MB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.3966, allocations: 63.94 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3967, allocations: 4 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.3968, allocations: 39.91 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.3971, allocations: 13.97 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.3991, allocations: 1.479 MB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.976e-05/0.3991, allocations: 75.33 kB / 1.332 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.788e-05/0.3992, allocations: 4 kB / 1.332 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.74e-05/0.3993, allocations: 27.42 kB / 1.332 GB, free: 10.34 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3993, allocations: 4 kB / 1.332 GB, free: 10.33 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03306/0.4323, allocations: 2.798 MB / 1.335 GB, free: 7.676 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.74, allocations: 0 / 1.335 GB, free: 7.676 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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: 18.681819489691406]