Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009799/0.0009799, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001132/0.001132, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.044/1.044, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.218/2.218, allocations: 429.5 MB / 0.6743 GB, free: 3.93 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.773e-05, allocations: 6.578 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002605/0.002632, allocations: 1.959 MB / 0.8813 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.004159, allocations: 1.233 MB / 0.8825 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.004275, allocations: 0 / 0.8825 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.004606, allocations: 100.1 kB / 0.8826 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.00492, allocations: 141 kB / 0.8828 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.005184, allocations: 139.4 kB / 0.8829 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.00544, allocations: 227.4 kB / 0.8831 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.005699, allocations: 30.3 kB / 0.8831 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005495/0.006249, allocations: 177.4 kB / 0.8833 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.00637, allocations: 83.77 kB / 0.8834 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.006395, allocations: 12 kB / 0.8834 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.006498, allocations: 56.72 kB / 0.8835 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.602e-05/0.006564, allocations: 67.75 kB / 0.8835 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.092e-05/0.006615, allocations: 53.19 kB / 0.8836 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.006888, allocations: 195.2 kB / 0.8838 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.006892, allocations: 0 / 0.8838 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.162e-06/0.006893, allocations: 0 / 0.8838 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.006897, allocations: 5.562 kB / 0.8838 GB, free: 1.562 MB / 0.8386 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.0005778/0.007475, allocations: 0.5695 MB / 0.8843 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.00751, allocations: 8.031 kB / 0.8843 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.007566, allocations: 34.16 kB / 0.8844 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.007785, allocations: 219.6 kB / 0.8846 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.007807, allocations: 12.12 kB / 0.8846 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.007821, allocations: 12 kB / 0.8846 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.007993, allocations: 107.3 kB / 0.8847 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.008002, allocations: 0 / 0.8847 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.008013, allocations: 3.984 kB / 0.8847 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.00802, allocations: 4 kB / 0.8847 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.586e-05/0.008076, allocations: 35.91 kB / 0.8847 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.00849, allocations: 380.1 kB / 0.8851 GB, free: 108 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.008621, allocations: 83.14 kB / 0.8852 GB, free: 12 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.008671, allocations: 23.77 kB / 0.8852 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.008686, allocations: 7.984 kB / 0.8852 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.00881, allocations: 95.95 kB / 0.8853 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.008811, allocations: 0 / 0.8853 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0002415/0.009053, allocations: 161.4 kB / 0.8855 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.009087, allocations: 55.41 kB / 0.8855 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.00927, allocations: 320.1 kB / 0.8858 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.009289, allocations: 33.7 kB / 0.8858 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.009376, allocations: 199.1 kB / 0.886 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.009407, allocations: 35.78 kB / 0.8861 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.009472, allocations: 71.2 kB / 0.8861 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.009596, allocations: 0.5195 MB / 0.8866 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.207e-05/0.009638, allocations: 23.98 kB / 0.8867 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.009713, allocations: 99.56 kB / 0.8868 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.009821, allocations: 119.5 kB / 0.8869 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.009825, allocations: 4 kB / 0.8869 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002/0.01003, allocations: 179.2 kB / 0.8871 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.01004, allocations: 8 kB / 0.8871 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01004, allocations: 3.938 kB / 0.8871 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.01005, allocations: 4.156 kB / 0.8871 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.01018, allocations: 39.98 kB / 0.8871 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.01019, allocations: 15.86 kB / 0.8871 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.01025, allocations: 19.89 kB / 0.8871 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.01027, allocations: 8 kB / 0.8871 GB, free: 13.86 MB / 0.8542 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 9.721e-05/0.01037, allocations: 172.5 kB / 0.8873 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.0104, allocations: 35.8 kB / 0.8873 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.01059, allocations: 145.7 kB / 0.8875 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.0106, allocations: 4 kB / 0.8875 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.0106, allocations: 7.938 kB / 0.8875 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.0106, allocations: 0 / 0.8875 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.01099, allocations: 450 kB / 0.8879 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01099, allocations: 0 / 0.8879 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.01103, allocations: 15.98 kB / 0.8879 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01104, allocations: 0 / 0.8879 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.01105, allocations: 3.938 kB / 0.8879 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01105, allocations: 4 kB / 0.8879 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01105, allocations: 3.984 kB / 0.888 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.01124, allocations: 306.6 kB / 0.8882 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.01126, allocations: 27.8 kB / 0.8883 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.01129, allocations: 11.92 kB / 0.8883 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.957e-05/0.01135, allocations: 4 kB / 0.8883 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.01139, allocations: 19.97 kB / 0.8883 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.0114, allocations: 11.98 kB / 0.8883 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.123e-05/0.01149, allocations: 193.1 kB / 0.8885 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01149, allocations: 0 / 0.8885 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002257/0.01172, allocations: 59.88 kB / 0.8886 GB, free: 12.35 MB / 0.8542 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.0008576/0.01258, allocations: 401.4 kB / 0.8889 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.01274, allocations: 104.2 kB / 0.889 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.01274, allocations: 4.062 kB / 0.889 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.0128, allocations: 47.59 kB / 0.8891 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.01308, allocations: 68.05 kB / 0.8892 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.0136, allocations: 380.3 kB / 0.8895 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.015e-05/0.01365, allocations: 84.31 kB / 0.8896 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.56e-05/0.01371, allocations: 29.94 kB / 0.8896 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.01383, allocations: 114.2 kB / 0.8897 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of SimCode: time 6.22e-07/0.01383, allocations: 0 / 0.8897 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of Templates: time 0.00572/0.01955, allocations: 3.655 MB / 0.8933 GB, free: 7.605 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Change.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.895593252032995]