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.00189/0.00189, allocations: 108.4 kB / 16.45 MB, free: 6.5 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.002326/0.002326, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.58/1.58, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.189/3.189, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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.002084/0.002084, allocations: 77.61 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3691, allocations: 176.1 MB / 1.321 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002389/0.3715, allocations: 0.8688 MB / 1.322 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3729, allocations: 0.9367 MB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.3731, allocations: 3.938 kB / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.3732, allocations: 15.86 kB / 1.323 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.459e-05/0.3733, allocations: 7.875 kB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.3735, allocations: 43.88 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.3737, allocations: 99.7 kB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3739, allocations: 31.97 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.3741, allocations: 55.78 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3742, allocations: 43.77 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.3742, allocations: 8 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.413e-05/0.3742, allocations: 12 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/0.3743, allocations: 15.92 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.3743, allocations: 39.8 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.3745, allocations: 107.8 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3745, allocations: 0 / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3745, allocations: 0 / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.3745, allocations: 0 / 1.323 GB, free: 0.9727 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007392/0.3753, allocations: 415 kB / 1.323 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.3753, allocations: 15.98 kB / 1.324 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.3754, allocations: 38.73 kB / 1.324 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.3755, allocations: 16.89 kB / 1.324 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.3759, allocations: 208.1 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3759, allocations: 4.375 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.3759, allocations: 12.38 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.3762, allocations: 94.14 kB / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3762, allocations: 3.938 kB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3762, allocations: 4 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3762, allocations: 0 / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.3765, allocations: 67.94 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006269/0.3771, allocations: 360.5 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.3774, allocations: 66.47 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.3775, allocations: 28.94 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3776, allocations: 4 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.3776, allocations: 38.55 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.3776, allocations: 4 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004995/0.3781, allocations: 109.6 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3781, allocations: 55.34 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.3783, allocations: 147.9 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.3783, allocations: 29.69 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.3784, allocations: 100 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.3784, allocations: 19.88 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.3784, allocations: 17.72 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3786, allocations: 314.8 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3787, allocations: 35.97 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.3788, allocations: 27.98 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.3791, allocations: 64.8 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3791, allocations: 0 / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002934/0.3794, allocations: 89.61 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3794, allocations: 19.92 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3794, allocations: 0 / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3794, allocations: 0 / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.3795, allocations: 11.98 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3795, allocations: 3.938 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.3796, allocations: 11.98 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3796, allocations: 7.984 kB / 1.325 GB, free: 14.34 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.000123/0.3798, allocations: 117.8 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.3798, allocations: 11.94 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.3798, allocations: 8.25 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3798, allocations: 4.031 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.3799, allocations: 3.938 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3799, allocations: 4 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.3801, allocations: 189.6 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3801, allocations: 0 / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.659e-05/0.3802, allocations: 11.98 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3802, allocations: 0 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.3802, allocations: 8.125 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3802, allocations: 7.938 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3802, allocations: 3.938 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.3805, allocations: 191.4 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.3806, allocations: 85.06 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.3806, allocations: 0 / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.3808, allocations: 15.98 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.3808, allocations: 23.91 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.3808, allocations: 0 / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.824e-05/0.3809, allocations: 101.5 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3809, allocations: 0 / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000239/0.3812, allocations: 19.89 kB / 1.326 GB, free: 13.45 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.000713/0.3819, allocations: 0.7241 MB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.3822, allocations: 63.94 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3822, allocations: 8 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.3823, allocations: 27.98 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.3826, allocations: 23.8 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.3847, allocations: 1.472 MB / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.3851, allocations: 0.6981 MB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.231e-05/0.3851, allocations: 0 / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.3852, allocations: 27.42 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of SimCode: time 5.72e-07/0.3852, allocations: 0 / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.4144, allocations: 2.209 MB / 1.331 GB, free: 8.152 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.51, allocations: 6.828 kB / 1.331 GB, free: 8.148 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.275174546986818]