Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007763/0.0007763, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009679/0.001744, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006773/0.0006773, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008188/0.001496, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9675/0.9675, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1391/1.107, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.427/2.427, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2679/2.695, allocations: 145.9 MB / 0.817 GB, free: 4.191 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.8184 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.849e-05, allocations: 6.312 kB / 0.8184 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001717/0.001746, allocations: 0.8934 MB / 0.8192 GB, free: 1.91 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009188/0.002664, allocations: 0.956 MB / 0.8202 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.002748, allocations: 7.938 kB / 0.8202 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 8.444e-05/0.002832, allocations: 7.875 kB / 0.8202 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.274e-05/0.002875, allocations: 23.8 kB / 0.8202 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.002996, allocations: 39.84 kB / 0.8203 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.003118, allocations: 107.7 kB / 0.8204 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.003229, allocations: 31.88 kB / 0.8204 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.003416, allocations: 79.75 kB / 0.8205 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.233e-05/0.003488, allocations: 27.91 kB / 0.8205 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.003508, allocations: 8 kB / 0.8205 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.647e-05/0.003574, allocations: 15.98 kB / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.003589, allocations: 11.94 kB / 0.8205 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.003612, allocations: 19.94 kB / 0.8205 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.003753, allocations: 59.77 kB / 0.8206 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-05/0.003773, allocations: 4 kB / 0.8206 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003774, allocations: 0 / 0.8206 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.003787, allocations: 0 / 0.8206 GB, free: 0.5039 MB / 0.7917 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.0004109/0.004198, allocations: 324.1 kB / 0.8209 GB, free: 164 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.00423, allocations: 8.625 kB / 0.8209 GB, free: 156 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.004373, allocations: 94.03 kB / 0.821 GB, free: 44 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.004544, allocations: 145.6 kB / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-06/0.004551, allocations: 4.375 kB / 0.8212 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.004561, allocations: 8.375 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.004678, allocations: 78.91 kB / 0.8212 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.004685, allocations: 192 / 0.8212 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.004694, allocations: 4.375 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.004698, allocations: 384 / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.016e-05/0.004728, allocations: 19.88 kB / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/0.004979, allocations: 200.2 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.344e-05/0.005062, allocations: 42.5 kB / 0.8215 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/0.005078, allocations: 8.859 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.005091, allocations: 0 / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.005114, allocations: 38.56 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.005114, allocations: 0 / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001211/0.005236, allocations: 53.7 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.005265, allocations: 51.41 kB / 0.8216 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/0.005335, allocations: 137.5 kB / 0.8218 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.005352, allocations: 25.7 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.005399, allocations: 104 kB / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.005415, allocations: 15.94 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.005445, allocations: 17.72 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.441e-05/0.00552, allocations: 318.8 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.005532, allocations: 7.938 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.162e-05/0.005543, allocations: 8 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.085e-05/0.005574, allocations: 12.84 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005576, allocations: 4 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.17e-05/0.005628, allocations: 49.56 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.005639, allocations: 4 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.005644, allocations: 0 / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.005654, allocations: 7.984 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/0.00572, allocations: 12 kB / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.005722, allocations: 0 / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.923e-05/0.005752, allocations: 12.17 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.005757, allocations: 0 / 0.8223 GB, free: 14.55 MB / 0.8073 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 5.443e-05/0.005811, allocations: 113.8 kB / 0.8224 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.005828, allocations: 15.91 kB / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.005849, allocations: 8.344 kB / 0.8225 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.00585, allocations: 0 / 0.8225 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.005851, allocations: 0 / 0.8225 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.005854, allocations: 8 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.05e-05/0.005944, allocations: 93.75 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005945, allocations: 192 / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.721e-05/0.005972, allocations: 15.92 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-06/0.00598, allocations: 11.89 kB / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.005981, allocations: 0 / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.005985, allocations: 0 / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.005986, allocations: 0 / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005987, allocations: 4 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.347e-05/0.00606, allocations: 135.5 kB / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.006077, allocations: 7.938 kB / 0.8227 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.365e-05/0.006121, allocations: 15.98 kB / 0.8227 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.00616, allocations: 11.98 kB / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.006163, allocations: 0 / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.941e-05/0.006182, allocations: 24.83 kB / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006182, allocations: 0 / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001248/0.006307, allocations: 12 kB / 0.8228 GB, free: 14.03 MB / 0.8073 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.316e-05/0.00638, allocations: 80.34 kB / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.413e-05/0.006444, allocations: 24.86 kB / 0.8229 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.006451, allocations: 7.922 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-05/0.00647, allocations: 16.86 kB / 0.8229 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.006622, allocations: 19.98 kB / 0.8229 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006437/0.007265, allocations: 200.4 kB / 0.8231 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.82e-05/0.007334, allocations: 59.34 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.958e-05/0.007393, allocations: 8 kB / 0.8232 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.007503, allocations: 59.36 kB / 0.8233 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of SimCode: time 9.32e-07/0.007504, allocations: 4 kB / 0.8233 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.002747/0.01025, allocations: 1.139 MB / 0.8244 GB, free: 12.38 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.193372745998204]