Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.00129/0.00129, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002203/0.003493, allocations: 440 kB / 10.41 MB, free: 284 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.001274/0.001274, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001938/0.003212, allocations: 475.6 kB / 11.8 MB, free: 2.375 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.99/0.99, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09399/1.084, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.393/2.393, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2312/2.624, allocations: 146 MB / 0.8176 GB, free: 3.82 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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.083e-06/2.083e-06, allocations: 0 / 0.819 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.398e-05, allocations: 4.844 kB / 0.819 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002548/0.002572, allocations: 0.8898 MB / 0.8199 GB, free: 1.523 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.003892, allocations: 0.948 MB / 0.8208 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.003951, allocations: 4 kB / 0.8208 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.997e-05/0.003991, allocations: 11.86 kB / 0.8208 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.199e-05/0.004073, allocations: 19.69 kB / 0.8208 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.00425, allocations: 47.88 kB / 0.8209 GB, free: 492 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.0044, allocations: 111.6 kB / 0.821 GB, free: 380 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.004501, allocations: 25.92 kB / 0.821 GB, free: 356 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.004753, allocations: 95.73 kB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.694e-05/0.00485, allocations: 27.91 kB / 0.8211 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.004872, allocations: 8 kB / 0.8211 GB, free: 224 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.894e-05/0.004941, allocations: 12 kB / 0.8211 GB, free: 212 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.004965, allocations: 11.94 kB / 0.8211 GB, free: 200 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.004994, allocations: 15.94 kB / 0.8212 GB, free: 184 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.005155, allocations: 75.56 kB / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.459e-05/0.00517, allocations: 0 / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.313e-06/0.005171, allocations: 0 / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.005186, allocations: 0 / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005109/0.005697, allocations: 324 kB / 0.8215 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.005731, allocations: 8.031 kB / 0.8216 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.005966, allocations: 106 kB / 0.8217 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.006156, allocations: 157.3 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.006176, allocations: 4.375 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.006194, allocations: 4.375 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.006383, allocations: 109.5 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.006392, allocations: 192 / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.006402, allocations: 384 / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.00641, allocations: 4.375 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.397e-05/0.006484, allocations: 27.84 kB / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.006896, allocations: 344.5 kB / 0.8223 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.007007, allocations: 87.77 kB / 0.8224 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.00704, allocations: 26.64 kB / 0.8224 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.007062, allocations: 4 kB / 0.8224 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.007089, allocations: 34.56 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.007091, allocations: 0 / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.000197/0.007288, allocations: 77.47 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.007337, allocations: 106.8 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.007437, allocations: 149.2 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.00746, allocations: 37.62 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.007505, allocations: 92.38 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.007539, allocations: 31.77 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.007583, allocations: 25.7 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.007685, allocations: 326.8 kB / 0.8232 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.767e-05/0.007713, allocations: 8 kB / 0.8232 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/0.007753, allocations: 34.56 kB / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.686e-05/0.00782, allocations: 42.48 kB / 0.8233 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.007822, allocations: 0 / 0.8233 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001145/0.007937, allocations: 77.59 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.007956, allocations: 15.94 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.007962, allocations: 0 / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.007977, allocations: 0 / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.448e-05/0.008061, allocations: 15.98 kB / 0.8234 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.008066, allocations: 3.938 kB / 0.8234 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.094e-05/0.008117, allocations: 11.89 kB / 0.8234 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.008124, allocations: 0 / 0.8234 GB, free: 13.61 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.803e-05/0.008202, allocations: 113.8 kB / 0.8235 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.00826, allocations: 11.98 kB / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.008376, allocations: 65.95 kB / 0.8236 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.008379, allocations: 336 / 0.8236 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.00838, allocations: 3.938 kB / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.008384, allocations: 0 / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.008613, allocations: 93.84 kB / 0.8237 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.008615, allocations: 4 kB / 0.8237 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.008671, allocations: 11.98 kB / 0.8237 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.008686, allocations: 11.91 kB / 0.8237 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.008688, allocations: 0 / 0.8237 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.0087, allocations: 7.938 kB / 0.8237 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.008702, allocations: 3.938 kB / 0.8237 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.008704, allocations: 4 kB / 0.8237 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.00888, allocations: 310 kB / 0.824 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.008904, allocations: 7.984 kB / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.009039, allocations: 4 kB / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.009099, allocations: 27.89 kB / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.009106, allocations: 4 kB / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.009144, allocations: 34.64 kB / 0.8241 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009145, allocations: 0 / 0.8241 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002645/0.009409, allocations: 16 kB / 0.8241 GB, free: 12.83 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001245/0.009534, allocations: 84.36 kB / 0.8242 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.009638, allocations: 48.77 kB / 0.8243 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.009643, allocations: 0 / 0.8243 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.803e-05/0.009691, allocations: 36.78 kB / 0.8243 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.01005, allocations: 54.81 kB / 0.8243 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.01037, allocations: 214.9 kB / 0.8246 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.193e-05/0.01042, allocations: 63.34 kB / 0.8246 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.412e-05/0.01049, allocations: 16.64 kB / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.823e-05/0.01057, allocations: 67.36 kB / 0.8247 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.01057, allocations: 0 / 0.8247 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of Templates: time 0.002968/0.01354, allocations: 1.254 MB / 0.8259 GB, free: 10.94 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.217930465005338]