Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001348/0.001348, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001518/0.001518, allocations: 161 kB / 23.82 MB, free: 0.75 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.9841/0.9841, allocations: 177.2 MB / 204.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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 1.734/1.734, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] 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.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.145e-05, allocations: 4.422 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00259/0.002622, allocations: 1.963 MB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.004007, allocations: 1.245 MB / 0.7903 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.004089, allocations: 8.875 kB / 0.7903 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.004352, allocations: 103.4 kB / 0.7904 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.004625, allocations: 141.2 kB / 0.7905 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.00482, allocations: 127.5 kB / 0.7906 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.005044, allocations: 235.3 kB / 0.7908 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.005144, allocations: 26.39 kB / 0.7909 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.00557, allocations: 181.8 kB / 0.791 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.005674, allocations: 92.7 kB / 0.7911 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.005697, allocations: 16 kB / 0.7911 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.598e-05/0.005783, allocations: 59.84 kB / 0.7912 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.005843, allocations: 65.31 kB / 0.7913 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.005894, allocations: 47.78 kB / 0.7913 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.006129, allocations: 199.2 kB / 0.7915 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.006131, allocations: 0 / 0.7915 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.51e-07/0.006132, allocations: 0.9688 kB / 0.7915 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.006136, allocations: 0 / 0.7915 GB, free: 8.016 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005491/0.006685, allocations: 0.5664 MB / 0.7921 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.006714, allocations: 8.031 kB / 0.7921 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.006768, allocations: 35.36 kB / 0.7921 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.006986, allocations: 235.5 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.00701, allocations: 8.125 kB / 0.7923 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.007026, allocations: 15.98 kB / 0.7923 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.007194, allocations: 104 kB / 0.7924 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.007203, allocations: 0 / 0.7924 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.007213, allocations: 5.656 kB / 0.7924 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.007219, allocations: 0 / 0.7924 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.697e-05/0.007286, allocations: 47.84 kB / 0.7925 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.007715, allocations: 416.1 kB / 0.7929 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.007863, allocations: 99.81 kB / 0.793 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/0.007905, allocations: 29.83 kB / 0.793 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.007918, allocations: 7.938 kB / 0.793 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.008037, allocations: 97 kB / 0.7931 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.008039, allocations: 0 / 0.7931 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002658/0.008304, allocations: 181.9 kB / 0.7933 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.008336, allocations: 56 kB / 0.7933 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.008542, allocations: 329 kB / 0.7937 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.008563, allocations: 33.7 kB / 0.7937 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.008639, allocations: 184.5 kB / 0.7939 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.008671, allocations: 43.69 kB / 0.7939 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.008732, allocations: 59.34 kB / 0.794 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.008856, allocations: 0.5118 MB / 0.7945 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.008926, allocations: 37.34 kB / 0.7945 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.625e-05/0.009012, allocations: 98.03 kB / 0.7946 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.009142, allocations: 134 kB / 0.7947 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.009145, allocations: 1.438 kB / 0.7947 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002418/0.009386, allocations: 192.1 kB / 0.7949 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.009399, allocations: 8 kB / 0.7949 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.009403, allocations: 0 / 0.7949 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.009418, allocations: 9.906 kB / 0.7949 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.009544, allocations: 47.91 kB / 0.795 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.00955, allocations: 4 kB / 0.795 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.009613, allocations: 23.88 kB / 0.795 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.009631, allocations: 8 kB / 0.795 GB, free: 4.199 MB / 0.7448 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.174e-05/0.009723, allocations: 186.6 kB / 0.7952 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.009749, allocations: 31.84 kB / 0.7952 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.009943, allocations: 159.6 kB / 0.7954 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.009947, allocations: 3.938 kB / 0.7954 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.009952, allocations: 8.516 kB / 0.7954 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.009956, allocations: 0 / 0.7954 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.0104, allocations: 0.4939 MB / 0.7959 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.0104, allocations: 0 / 0.7959 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.01045, allocations: 15.88 kB / 0.7959 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01045, allocations: 4 kB / 0.7959 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01046, allocations: 6.547 kB / 0.7959 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.01046, allocations: 0 / 0.7959 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01046, allocations: 0 / 0.7959 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.01064, allocations: 300.2 kB / 0.7962 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.01067, allocations: 39.73 kB / 0.7962 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.01069, allocations: 4 kB / 0.7962 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.632e-05/0.01074, allocations: 11.98 kB / 0.7962 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.01079, allocations: 20.81 kB / 0.7962 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.0108, allocations: 8 kB / 0.7962 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001113/0.01091, allocations: 205.9 kB / 0.7964 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01091, allocations: 0 / 0.7964 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002063/0.01112, allocations: 53.05 kB / 0.7965 GB, free: 2.605 MB / 0.7448 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.000838/0.01196, allocations: 396.8 kB / 0.7969 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.01215, allocations: 121.3 kB / 0.797 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01215, allocations: 0 / 0.797 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.575e-05/0.01221, allocations: 55.59 kB / 0.797 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.01247, allocations: 66.83 kB / 0.7971 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.01291, allocations: 370.2 kB / 0.7975 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.239e-05/0.01296, allocations: 88.97 kB / 0.7975 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.131e-05/0.01302, allocations: 34.41 kB / 0.7976 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.01307, allocations: 32.48 kB / 0.7976 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.01307, allocations: 0 / 0.7976 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of Templates: time 0.005392/0.01847, allocations: 3.494 MB / 0.801 GB, free: 14.13 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.173542676959187]