Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002745/0.002745, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.003343/0.003343, allocations: 161.7 kB / 23.55 MB, free: 0.875 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 1.659/1.659, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.908/2.908, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.08e-05, allocations: 6.25 kB / 0.7865 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002142/0.002172, allocations: 0.8349 MB / 0.7873 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.003573, allocations: 0.9263 MB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.84e-05/0.003641, allocations: 0 / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.056e-05/0.003682, allocations: 16.66 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.003809, allocations: 12.42 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.004102, allocations: 44.52 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.00431, allocations: 115.7 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.004452, allocations: 22.14 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.004734, allocations: 79.8 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.004846, allocations: 40.53 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.004883, allocations: 13.25 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.201e-05/0.004945, allocations: 16 kB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.004983, allocations: 19.91 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.005042, allocations: 31.92 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.005336, allocations: 137.1 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.00534, allocations: 0 / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.623e-06/0.005341, allocations: 0 / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.005348, allocations: 3.938 kB / 0.7887 GB, free: 10.44 MB / 0.7448 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.0009122/0.006261, allocations: 461 kB / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.006302, allocations: 9.625 kB / 0.7891 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.006607, allocations: 40.77 kB / 0.7892 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.007052, allocations: 181.4 kB / 0.7894 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.007078, allocations: 4.375 kB / 0.7894 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.007099, allocations: 11.78 kB / 0.7894 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.007378, allocations: 117.2 kB / 0.7895 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.007392, allocations: 4.172 kB / 0.7895 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.007409, allocations: 4.375 kB / 0.7895 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.007416, allocations: 4.125 kB / 0.7895 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.00764, allocations: 63.89 kB / 0.7896 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009061/0.008546, allocations: 0.5724 MB / 0.7901 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.008809, allocations: 126.9 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.008943, allocations: 63.05 kB / 0.7903 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.00898, allocations: 0.875 kB / 0.7903 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.009023, allocations: 37.39 kB / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.009024, allocations: 0 / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0005107/0.009535, allocations: 143.4 kB / 0.7905 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/0.009617, allocations: 108.2 kB / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.009815, allocations: 221.9 kB / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.009847, allocations: 33.7 kB / 0.7908 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.009969, allocations: 155 kB / 0.791 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.01002, allocations: 37.22 kB / 0.791 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/0.01008, allocations: 31.38 kB / 0.791 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002675/0.01035, allocations: 0.4923 MB / 0.7915 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.01047, allocations: 40.53 kB / 0.7916 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.01069, allocations: 176.7 kB / 0.7917 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.01092, allocations: 86.97 kB / 0.7918 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01092, allocations: 0 / 0.7918 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003077/0.01123, allocations: 134.5 kB / 0.7919 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01124, allocations: 4.531 kB / 0.7919 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01125, allocations: 4 kB / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.01127, allocations: 0.5312 kB / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.01139, allocations: 20.89 kB / 0.792 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01139, allocations: 0 / 0.792 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.01148, allocations: 12.72 kB / 0.792 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.01149, allocations: 0.5312 kB / 0.792 GB, free: 6.777 MB / 0.7448 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 0.0001381/0.01163, allocations: 170.3 kB / 0.7921 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/0.0117, allocations: 23.84 kB / 0.7922 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.01193, allocations: 85.92 kB / 0.7922 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01193, allocations: 1.156 kB / 0.7922 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01194, allocations: 0 / 0.7922 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01194, allocations: 0 / 0.7922 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.01223, allocations: 153.4 kB / 0.7924 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01223, allocations: 0 / 0.7924 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.507e-05/0.01231, allocations: 16.92 kB / 0.7924 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.01232, allocations: 3.938 kB / 0.7924 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.01233, allocations: 5.344 kB / 0.7924 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.01234, allocations: 4 kB / 0.7924 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01234, allocations: 0 / 0.7924 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000508/0.01284, allocations: 499.1 kB / 0.7929 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.01287, allocations: 19.83 kB / 0.7929 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.0129, allocations: 6.312 kB / 0.7929 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.01306, allocations: 7.984 kB / 0.7929 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/0.01315, allocations: 27.95 kB / 0.793 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.01317, allocations: 8.062 kB / 0.793 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001251/0.01329, allocations: 159.2 kB / 0.7931 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01329, allocations: 3.438 kB / 0.7931 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002974/0.01359, allocations: 12 kB / 0.7931 GB, free: 5.531 MB / 0.7448 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.0001651/0.01375, allocations: 107.2 kB / 0.7932 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003302/0.01408, allocations: 95.64 kB / 0.7933 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01409, allocations: 0 / 0.7933 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.01423, allocations: 48.45 kB / 0.7934 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.01463, allocations: 24.38 kB / 0.7934 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.01514, allocations: 230.5 kB / 0.7936 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.01525, allocations: 85.97 kB / 0.7937 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.796e-05/0.01533, allocations: 18.17 kB / 0.7937 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.262e-05/0.01539, allocations: 16.5 kB / 0.7937 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.01539, allocations: 0 / 0.7937 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of Templates: time 0.005161/0.02055, allocations: 1.436 MB / 0.7951 GB, free: 3.453 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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: 8.167883743997663]