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.001038/0.001038, allocations: 89.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001041/0.001041, allocations: 173 kB / 23.02 MB, free: 1.547 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.9608/0.9608, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.179/2.179, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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 3.206e-06/3.206e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.414e-05, allocations: 3.344 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003239/0.003273, allocations: 1.98 MB / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.004871, allocations: 1.25 MB / 0.8813 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.004981, allocations: 3.938 kB / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.005375, allocations: 95.53 kB / 0.8814 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.005695, allocations: 147.2 kB / 0.8816 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.005923, allocations: 131.5 kB / 0.8817 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.00617, allocations: 231.3 kB / 0.8819 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.006331, allocations: 33.78 kB / 0.882 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.006499, allocations: 127.6 kB / 0.8821 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.006623, allocations: 87.77 kB / 0.8822 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.006648, allocations: 16 kB / 0.8822 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.00676, allocations: 60.8 kB / 0.8822 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.184e-05/0.006842, allocations: 67.75 kB / 0.8823 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.041e-05/0.006903, allocations: 55.78 kB / 0.8823 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.007155, allocations: 196.3 kB / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.007158, allocations: 0 / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.413e-06/0.00716, allocations: 1.125 kB / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.007165, allocations: 0 / 0.8825 GB, free: 1.859 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.0006737/0.007838, allocations: 0.5618 MB / 0.8831 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.007881, allocations: 13.09 kB / 0.8831 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.00795, allocations: 36.75 kB / 0.8831 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.008247, allocations: 228.7 kB / 0.8834 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.008275, allocations: 7.938 kB / 0.8834 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.008301, allocations: 12 kB / 0.8834 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.008501, allocations: 105.1 kB / 0.8835 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.008515, allocations: 4.578 kB / 0.8835 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.008532, allocations: 11.94 kB / 0.8835 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.008544, allocations: 1.375 kB / 0.8835 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.185e-05/0.008626, allocations: 43.89 kB / 0.8835 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.009153, allocations: 412.2 kB / 0.8839 GB, free: 352 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.009328, allocations: 95.86 kB / 0.884 GB, free: 244 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.009378, allocations: 32.77 kB / 0.884 GB, free: 208 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.009397, allocations: 0 / 0.884 GB, free: 208 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.009538, allocations: 105.6 kB / 0.8841 GB, free: 88 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.009539, allocations: 1.281 kB / 0.8841 GB, free: 88 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003152/0.009854, allocations: 180.8 kB / 0.8843 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.009898, allocations: 51.41 kB / 0.8844 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.01013, allocations: 331.6 kB / 0.8847 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.01014, allocations: 29.7 kB / 0.8847 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.806e-05/0.01024, allocations: 195.2 kB / 0.8849 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.01028, allocations: 35.73 kB / 0.8849 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.938e-05/0.01035, allocations: 67.31 kB / 0.885 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.01048, allocations: 0.5079 MB / 0.8855 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.01055, allocations: 35.97 kB / 0.8855 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.01065, allocations: 111.5 kB / 0.8856 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.01079, allocations: 125.3 kB / 0.8858 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01079, allocations: 1.438 kB / 0.8858 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002294/0.01102, allocations: 191.7 kB / 0.8859 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.01104, allocations: 11.98 kB / 0.8859 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01104, allocations: 0 / 0.8859 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.01107, allocations: 16.09 kB / 0.886 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.01121, allocations: 39.92 kB / 0.886 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.01122, allocations: 0 / 0.886 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.01128, allocations: 23.88 kB / 0.886 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.0113, allocations: 12 kB / 0.886 GB, free: 14.04 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.759e-05/0.0114, allocations: 176.5 kB / 0.8862 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.01143, allocations: 27.86 kB / 0.8862 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.01165, allocations: 165.9 kB / 0.8864 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01165, allocations: 7.938 kB / 0.8864 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01166, allocations: 0 / 0.8864 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01166, allocations: 0 / 0.8864 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.0121, allocations: 497.4 kB / 0.8869 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.0121, allocations: 3.938 kB / 0.8869 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.01215, allocations: 19.98 kB / 0.8869 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01216, allocations: 0 / 0.8869 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.01217, allocations: 7.938 kB / 0.8869 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01217, allocations: 0 / 0.8869 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01217, allocations: 0 / 0.8869 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.01238, allocations: 318.1 kB / 0.8872 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.771e-05/0.01241, allocations: 31.78 kB / 0.8872 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.01243, allocations: 4 kB / 0.8872 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.095e-05/0.01249, allocations: 11.98 kB / 0.8873 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.01255, allocations: 19.97 kB / 0.8873 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.01256, allocations: 4 kB / 0.8873 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001189/0.01268, allocations: 213.1 kB / 0.8875 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01268, allocations: 0 / 0.8875 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002162/0.01289, allocations: 51.89 kB / 0.8875 GB, free: 12.45 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.0009197/0.01381, allocations: 397.1 kB / 0.8879 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.01402, allocations: 120.1 kB / 0.888 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01402, allocations: 4.125 kB / 0.888 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.01413, allocations: 51.61 kB / 0.8881 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.01443, allocations: 61.17 kB / 0.8881 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006097/0.01504, allocations: 378.7 kB / 0.8885 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.914e-05/0.01512, allocations: 88.31 kB / 0.8886 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.859e-05/0.01518, allocations: 33.92 kB / 0.8886 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.01525, allocations: 32.48 kB / 0.8886 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/0.01525, allocations: 0 / 0.8886 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of Templates: time 0.005992/0.02124, allocations: 3.327 MB / 0.8919 GB, free: 8.09 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.711668513249606]