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.0007074/0.0007074, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007994/0.0007994, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8839/0.8839, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.733/1.733, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.9823 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.378e-05, allocations: 2.281 kB / 0.9823 GB, free: 2 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001261/0.001285, allocations: 0.834 MB / 0.9831 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008669/0.002152, allocations: 0.9249 MB / 0.984 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.002229, allocations: 8 kB / 0.984 GB, free: 228 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.002347, allocations: 19.73 kB / 0.984 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.559e-05/0.002382, allocations: 7.875 kB / 0.984 GB, free: 200 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.002579, allocations: 39.95 kB / 0.9841 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.002691, allocations: 107.6 kB / 0.9842 GB, free: 52 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.00281, allocations: 31.92 kB / 0.9842 GB, free: 20 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.002967, allocations: 60 kB / 0.9843 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.003025, allocations: 23.91 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.003043, allocations: 12 kB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.006e-05/0.003083, allocations: 19.98 kB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.003099, allocations: 15.92 kB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.003126, allocations: 23.92 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.003272, allocations: 119.5 kB / 0.9845 GB, free: 15.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003274, allocations: 0 / 0.9845 GB, free: 15.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003275, allocations: 0 / 0.9845 GB, free: 15.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.003279, allocations: 0 / 0.9845 GB, free: 15.75 MB / 0.948 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.0004443/0.003724, allocations: 333.9 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.003758, allocations: 15.97 kB / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.003873, allocations: 20.88 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.004051, allocations: 141.6 kB / 0.9849 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.004063, allocations: 8.375 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.004074, allocations: 4.375 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.004232, allocations: 96.83 kB / 0.9851 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.00424, allocations: 192 / 0.9851 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.004252, allocations: 8.375 kB / 0.9851 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.004257, allocations: 4.312 kB / 0.9851 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.004393, allocations: 71.88 kB / 0.9851 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.004732, allocations: 284.2 kB / 0.9854 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.004875, allocations: 62.55 kB / 0.9855 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.004934, allocations: 32.92 kB / 0.9855 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.004949, allocations: 4 kB / 0.9855 GB, free: 14.58 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.004968, allocations: 30.56 kB / 0.9855 GB, free: 14.54 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.004969, allocations: 0 / 0.9855 GB, free: 14.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002699/0.005239, allocations: 121.5 kB / 0.9856 GB, free: 14.42 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.005271, allocations: 55.41 kB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.005351, allocations: 140.1 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.005364, allocations: 25.7 kB / 0.9859 GB, free: 14.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.005408, allocations: 104.1 kB / 0.986 GB, free: 14.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.005427, allocations: 11.89 kB / 0.986 GB, free: 14.06 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.005456, allocations: 17.7 kB / 0.986 GB, free: 14.04 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.005529, allocations: 322.8 kB / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-05/0.005591, allocations: 31.97 kB / 0.9863 GB, free: 13.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.556e-05/0.005647, allocations: 31.97 kB / 0.9864 GB, free: 13.65 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.005752, allocations: 52.81 kB / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005753, allocations: 0 / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001415/0.005895, allocations: 105.5 kB / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.005907, allocations: 11.94 kB / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.005911, allocations: 0 / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.005923, allocations: 4 kB / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.299e-05/0.005986, allocations: 11.98 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.005989, allocations: 0 / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.006037, allocations: 19.92 kB / 0.9865 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.006046, allocations: 4.188 kB / 0.9866 GB, free: 13.43 MB / 0.948 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 6.057e-05/0.006106, allocations: 121.8 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.006122, allocations: 7.953 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.006142, allocations: 12.33 kB / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006144, allocations: 4 kB / 0.9867 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.006148, allocations: 0 / 0.9867 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.00615, allocations: 192 / 0.9867 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.006395, allocations: 137.2 kB / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.006397, allocations: 3.984 kB / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.006431, allocations: 15.92 kB / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.006433, allocations: 0 / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.00644, allocations: 0 / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.006441, allocations: 0 / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.006442, allocations: 0 / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.006609, allocations: 195.4 kB / 0.987 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.00662, allocations: 11.94 kB / 0.987 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.006635, allocations: 0 / 0.987 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.882e-05/0.006693, allocations: 11.98 kB / 0.9871 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.006739, allocations: 15.97 kB / 0.9871 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.006743, allocations: 0 / 0.9871 GB, free: 12.85 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.263e-05/0.006786, allocations: 107.2 kB / 0.9872 GB, free: 12.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006786, allocations: 0 / 0.9872 GB, free: 12.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001514/0.006937, allocations: 12 kB / 0.9872 GB, free: 12.73 MB / 0.948 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 7.544e-05/0.007013, allocations: 99.72 kB / 0.9873 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.007175, allocations: 63.94 kB / 0.9873 GB, free: 12.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007177, allocations: 0 / 0.9873 GB, free: 12.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/0.007236, allocations: 31.97 kB / 0.9874 GB, free: 12.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.007423, allocations: 15.94 kB / 0.9874 GB, free: 12.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.007717, allocations: 210.9 kB / 0.9876 GB, free: 12.28 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.911e-05/0.007766, allocations: 79.33 kB / 0.9877 GB, free: 12.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.007801, allocations: 20.42 kB / 0.9877 GB, free: 12.16 MB / 0.948 GB Notification: Performance of SimCode: time 6.62e-07/0.007802, allocations: 0 / 0.9877 GB, free: 12.16 MB / 0.948 GB Notification: Performance of Templates: time 0.001725/0.009527, allocations: 1.155 MB / 0.9888 GB, free: 11.01 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 400] 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/jenkins/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: 6.648737980984151]