Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.001092/0.001092, 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.001413/0.001413, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.891/0.891, allocations: 177.2 MB / 203.5 MB, free: 5.742 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.753/1.753, allocations: 377.8 MB / 0.6228 GB, free: 8.66 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.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.665e-05, allocations: 4.812 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00241/0.002437, allocations: 1.917 MB / 0.9841 GB, free: 136 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.003836, allocations: 1.208 MB / 0.9853 GB, free: 14.92 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.31e-05/0.003929, allocations: 3.938 kB / 0.9853 GB, free: 14.92 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.00427, allocations: 95.5 kB / 0.9854 GB, free: 14.82 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.004591, allocations: 155.2 kB / 0.9855 GB, free: 14.67 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.00478, allocations: 127.5 kB / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.005015, allocations: 231.3 kB / 0.9858 GB, free: 14.32 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.005162, allocations: 33.78 kB / 0.9859 GB, free: 14.29 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.005301, allocations: 127.6 kB / 0.986 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.005414, allocations: 91.75 kB / 0.9861 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.005436, allocations: 16 kB / 0.9861 GB, free: 14.06 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.442e-05/0.005531, allocations: 55.91 kB / 0.9862 GB, free: 14 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/0.005602, allocations: 71.75 kB / 0.9862 GB, free: 13.93 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.005656, allocations: 51.84 kB / 0.9863 GB, free: 13.88 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.005933, allocations: 290.9 kB / 0.9865 GB, free: 13.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.005935, allocations: 0 / 0.9865 GB, free: 13.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.005936, allocations: 0 / 0.9865 GB, free: 13.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.005941, allocations: 0 / 0.9865 GB, free: 13.6 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000621/0.006562, allocations: 484.9 kB / 0.987 GB, free: 13.09 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.006594, allocations: 8.031 kB / 0.987 GB, free: 13.09 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.00664, allocations: 24.8 kB / 0.987 GB, free: 13.06 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.006904, allocations: 236.9 kB / 0.9873 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.00692, allocations: 11.94 kB / 0.9873 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.006937, allocations: 11.98 kB / 0.9873 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.007132, allocations: 113.6 kB / 0.9874 GB, free: 12.67 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.007139, allocations: 0 / 0.9874 GB, free: 12.67 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.007155, allocations: 11.98 kB / 0.9874 GB, free: 12.66 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.00716, allocations: 3.938 kB / 0.9874 GB, free: 12.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.007316, allocations: 92.42 kB / 0.9875 GB, free: 12.56 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.007779, allocations: 368.4 kB / 0.9879 GB, free: 12.17 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.008057, allocations: 130.6 kB / 0.988 GB, free: 12.04 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.008174, allocations: 48.83 kB / 0.988 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.008194, allocations: 4 kB / 0.988 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.00843, allocations: 131.2 kB / 0.9882 GB, free: 11.84 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.963e-06/0.008432, allocations: 0 / 0.9882 GB, free: 11.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.0005231/0.008955, allocations: 260 kB / 0.9884 GB, free: 11.58 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.008997, allocations: 59.34 kB / 0.9885 GB, free: 11.51 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.009307, allocations: 337.8 kB / 0.9888 GB, free: 11.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.009329, allocations: 29.7 kB / 0.9888 GB, free: 11.14 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.009417, allocations: 140.5 kB / 0.9889 GB, free: 11 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.009457, allocations: 43.69 kB / 0.989 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.009534, allocations: 61.69 kB / 0.989 GB, free: 10.89 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002428/0.009777, allocations: 338.8 kB / 0.9894 GB, free: 10.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.009939, allocations: 83.95 kB / 0.9894 GB, free: 10.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.01012, allocations: 137.1 kB / 0.9896 GB, free: 10.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.01042, allocations: 192.2 kB / 0.9898 GB, free: 10.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01042, allocations: 0 / 0.9898 GB, free: 10.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004315/0.01086, allocations: 281.2 kB / 0.99 GB, free: 9.832 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.01087, allocations: 11.94 kB / 0.99 GB, free: 9.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01088, allocations: 160 / 0.99 GB, free: 9.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.0109, allocations: 15.92 kB / 0.9901 GB, free: 9.805 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.01106, allocations: 35.97 kB / 0.9901 GB, free: 9.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.01107, allocations: 7.938 kB / 0.9901 GB, free: 9.762 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.01118, allocations: 27.88 kB / 0.9901 GB, free: 9.734 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.01121, allocations: 11.98 kB / 0.9901 GB, free: 9.723 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.00012/0.01133, allocations: 161.5 kB / 0.9903 GB, free: 9.555 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.01135, allocations: 27.81 kB / 0.9903 GB, free: 9.527 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.01166, allocations: 215.6 kB / 0.9905 GB, free: 9.309 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01166, allocations: 3.938 kB / 0.9905 GB, free: 9.305 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01167, allocations: 0 / 0.9905 GB, free: 9.305 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01167, allocations: 0 / 0.9905 GB, free: 9.305 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.01214, allocations: 0.4903 MB / 0.991 GB, free: 8.777 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.01214, allocations: 7.938 kB / 0.991 GB, free: 8.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.01219, allocations: 19.98 kB / 0.991 GB, free: 8.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.0122, allocations: 4 kB / 0.991 GB, free: 8.746 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.01221, allocations: 0 / 0.991 GB, free: 8.746 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.01221, allocations: 4 kB / 0.991 GB, free: 8.742 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01221, allocations: 0 / 0.991 GB, free: 8.742 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.01246, allocations: 306.5 kB / 0.9913 GB, free: 8.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.01249, allocations: 27.8 kB / 0.9914 GB, free: 8.402 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.01251, allocations: 0 / 0.9914 GB, free: 8.402 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.01258, allocations: 19.97 kB / 0.9914 GB, free: 8.383 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.01263, allocations: 19.98 kB / 0.9914 GB, free: 8.363 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.01264, allocations: 7.984 kB / 0.9914 GB, free: 8.355 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001328/0.01278, allocations: 213.2 kB / 0.9916 GB, free: 8.148 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01278, allocations: 0 / 0.9916 GB, free: 8.148 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002439/0.01302, allocations: 55.88 kB / 0.9917 GB, free: 8.094 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000726/0.01375, allocations: 456.8 kB / 0.9921 GB, free: 7.824 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.01406, allocations: 183.7 kB / 0.9923 GB, free: 7.645 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01406, allocations: 0 / 0.9923 GB, free: 7.645 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.01416, allocations: 67.89 kB / 0.9923 GB, free: 7.578 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.01443, allocations: 64.73 kB / 0.9924 GB, free: 7.527 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/0.01495, allocations: 440.4 kB / 0.9928 GB, free: 7.062 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.354e-05/0.01504, allocations: 149.4 kB / 0.993 GB, free: 6.895 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.01509, allocations: 28.5 kB / 0.993 GB, free: 6.867 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/0.01509, allocations: 0 / 0.993 GB, free: 6.867 MB / 0.948 GB Notification: Performance of Templates: time 0.003484/0.01858, allocations: 3.471 MB / 0.9964 GB, free: 3.406 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.949886126443744]