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.001071/0.001071, allocations: 76.17 kB / 9.906 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002515, allocations: 439.8 kB / 10.34 MB, free: 360 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.001093/0.001093, allocations: 157.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.00245, 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.9181/0.9181, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09575/1.014, allocations: 53.67 MB / 243.2 MB, free: 15.59 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.522/2.522, allocations: 446.7 MB / 0.6745 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2611/2.784, allocations: 145.9 MB / 0.817 GB, free: 4.219 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 1.733e-06/1.733e-06, allocations: 0 / 0.8184 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.17e-05, allocations: 4.703 kB / 0.8184 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002117/0.002139, allocations: 0.8779 MB / 0.8192 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.003381, allocations: 0.9442 MB / 0.8202 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.003444, allocations: 11.94 kB / 0.8202 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.922e-05/0.003483, allocations: 7.875 kB / 0.8202 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.456e-05/0.003558, allocations: 19.73 kB / 0.8202 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.003738, allocations: 55.75 kB / 0.8202 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.00389, allocations: 107.6 kB / 0.8203 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.003991, allocations: 25.94 kB / 0.8204 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.004237, allocations: 91.73 kB / 0.8205 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.289e-05/0.00433, allocations: 35.89 kB / 0.8205 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.004349, allocations: 4 kB / 0.8205 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.004415, allocations: 8 kB / 0.8205 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.004433, allocations: 15.94 kB / 0.8205 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.004466, allocations: 19.94 kB / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.004622, allocations: 67.62 kB / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.587e-05/0.004638, allocations: 0 / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004639, allocations: 0 / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.004656, allocations: 0 / 0.8206 GB, free: 0.543 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004916/0.005148, allocations: 328 kB / 0.8209 GB, free: 200 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.005189, allocations: 16.56 kB / 0.8209 GB, free: 184 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.005411, allocations: 98.03 kB / 0.821 GB, free: 68 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.005618, allocations: 149.5 kB / 0.8212 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.005639, allocations: 8.375 kB / 0.8212 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.005655, allocations: 8.359 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.005822, allocations: 109.4 kB / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.00583, allocations: 192 / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.005839, allocations: 384 / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.005846, allocations: 4.375 kB / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.145e-05/0.005898, allocations: 19.92 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.006279, allocations: 352.5 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.006392, allocations: 79.72 kB / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.006423, allocations: 22.64 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.006447, allocations: 0 / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.006477, allocations: 46.55 kB / 0.8218 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.006479, allocations: 0 / 0.8218 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.000204/0.006683, allocations: 77.64 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.006735, allocations: 106.8 kB / 0.822 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.006839, allocations: 157.3 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.006862, allocations: 29.7 kB / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.006906, allocations: 96.11 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.006937, allocations: 19.8 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.006983, allocations: 33.62 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.007087, allocations: 322.8 kB / 0.8226 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.538e-05/0.007112, allocations: 8 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.197e-05/0.007154, allocations: 42.58 kB / 0.8226 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.465e-05/0.007219, allocations: 46.55 kB / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.007222, allocations: 0 / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001157/0.007337, allocations: 73.88 kB / 0.8228 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.007353, allocations: 7.938 kB / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.007359, allocations: 4 kB / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.007369, allocations: 0 / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.007455, allocations: 19.92 kB / 0.8228 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.00746, allocations: 4 kB / 0.8228 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.007511, allocations: 11.89 kB / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.007519, allocations: 4 kB / 0.8228 GB, free: 14.04 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.64e-05/0.007595, allocations: 113.8 kB / 0.8229 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.007655, allocations: 11.98 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.00776, allocations: 61.89 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.007764, allocations: 4 kB / 0.823 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.007765, allocations: 0 / 0.823 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.007769, allocations: 0 / 0.823 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.008022, allocations: 89.86 kB / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.008025, allocations: 0 / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.00808, allocations: 19.98 kB / 0.8231 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.008091, allocations: 11.91 kB / 0.8231 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.008094, allocations: 0 / 0.8231 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.008101, allocations: 3.938 kB / 0.8231 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.008105, allocations: 7.984 kB / 0.8231 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.008106, allocations: 0 / 0.8231 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.008248, allocations: 310 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.008264, allocations: 4 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.008345, allocations: 3.938 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.008397, allocations: 35.89 kB / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.008402, allocations: 4 kB / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.987e-05/0.008432, allocations: 34.44 kB / 0.8235 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.008432, allocations: 0 / 0.8235 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001718/0.008604, allocations: 16 kB / 0.8235 GB, free: 13.27 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 8.287e-05/0.008687, allocations: 84.3 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.368e-05/0.008771, allocations: 48.77 kB / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.008774, allocations: 0 / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.12e-05/0.008805, allocations: 32.91 kB / 0.8237 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.009038, allocations: 24.17 kB / 0.8237 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.009292, allocations: 206.8 kB / 0.8239 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.336e-05/0.009336, allocations: 63.34 kB / 0.8239 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.561e-05/0.009381, allocations: 16.77 kB / 0.824 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.009436, allocations: 59.38 kB / 0.824 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.009437, allocations: 4 kB / 0.824 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of Templates: time 0.00284/0.01228, allocations: 1.24 MB / 0.8252 GB, free: 11.44 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.307817749679089]