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.0009964/0.0009964, allocations: 88.22 kB / 19.65 MB, free: 272 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.0008984/0.0008984, allocations: 177 kB / 23.03 MB, free: 1.535 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.9726/0.9726, allocations: 177.1 MB / 203.4 MB, free: 5.637 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/2, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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 2.264e-06/2.264e-06, allocations: 0 / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.9e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002797/0.002826, allocations: 1.982 MB / 0.8801 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.004534, allocations: 1.245 MB / 0.8813 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.004661, allocations: 0 / 0.8813 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.005053, allocations: 96.12 kB / 0.8814 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.005426, allocations: 152.2 kB / 0.8816 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.00574, allocations: 128.7 kB / 0.8817 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.00601, allocations: 231.3 kB / 0.8819 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.00616, allocations: 34.78 kB / 0.8819 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005861/0.006746, allocations: 164.3 kB / 0.8821 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.006878, allocations: 92.81 kB / 0.8822 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.006904, allocations: 12 kB / 0.8822 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.007023, allocations: 59.86 kB / 0.8823 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.007096, allocations: 60.94 kB / 0.8823 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.007161, allocations: 59.77 kB / 0.8824 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.007468, allocations: 195.2 kB / 0.8826 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00747, allocations: 1.062 kB / 0.8826 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.31e-07/0.00747, allocations: 0 / 0.8826 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.007477, allocations: 0 / 0.8826 GB, free: 1.793 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.0006534/0.00813, allocations: 0.5663 MB / 0.8831 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.008168, allocations: 17.53 kB / 0.8831 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/0.008243, allocations: 32.75 kB / 0.8832 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.008512, allocations: 227.7 kB / 0.8834 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.008541, allocations: 12.12 kB / 0.8834 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.008563, allocations: 13.61 kB / 0.8834 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.008766, allocations: 106.3 kB / 0.8835 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.008775, allocations: 3.938 kB / 0.8835 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.008788, allocations: 4 kB / 0.8835 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.008798, allocations: 5 kB / 0.8835 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.445e-05/0.008873, allocations: 41.97 kB / 0.8836 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.009396, allocations: 416.6 kB / 0.884 GB, free: 276 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.009578, allocations: 96.75 kB / 0.8841 GB, free: 168 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.009628, allocations: 39.55 kB / 0.8841 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.009646, allocations: 4 kB / 0.8841 GB, free: 120 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.00979, allocations: 107.4 kB / 0.8842 GB, free: 4 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.874e-06/0.009792, allocations: 0 / 0.8842 GB, free: 4 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003203/0.01011, allocations: 173.5 kB / 0.8844 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.01016, allocations: 59.39 kB / 0.8844 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.01039, allocations: 320.2 kB / 0.8847 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.01042, allocations: 33.69 kB / 0.8848 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.01051, allocations: 195.2 kB / 0.8849 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.01054, allocations: 33.14 kB / 0.885 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.01061, allocations: 67.3 kB / 0.885 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.01075, allocations: 0.5118 MB / 0.8855 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.752e-05/0.01082, allocations: 43.91 kB / 0.8856 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.092e-05/0.01091, allocations: 99.59 kB / 0.8857 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.01105, allocations: 123.7 kB / 0.8858 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01105, allocations: 0 / 0.8858 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002545/0.0113, allocations: 197.4 kB / 0.886 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.01132, allocations: 8 kB / 0.886 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.01133, allocations: 0 / 0.886 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.01136, allocations: 7.938 kB / 0.886 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.01152, allocations: 47.91 kB / 0.886 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.01153, allocations: 0 / 0.886 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.659e-05/0.01159, allocations: 23.88 kB / 0.8861 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.01161, allocations: 8 kB / 0.8861 GB, free: 13.96 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.975e-05/0.01171, allocations: 176.5 kB / 0.8862 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.01174, allocations: 31.92 kB / 0.8863 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.01196, allocations: 165.9 kB / 0.8864 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01196, allocations: 3.938 kB / 0.8864 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.01196, allocations: 0 / 0.8864 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.01197, allocations: 3.984 kB / 0.8864 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.01239, allocations: 497.3 kB / 0.8869 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01239, allocations: 0 / 0.8869 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/0.01244, allocations: 19.92 kB / 0.8869 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01244, allocations: 0 / 0.8869 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.01246, allocations: 15.98 kB / 0.8869 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01246, allocations: 0 / 0.8869 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01246, allocations: 0 / 0.8869 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.01269, allocations: 310.3 kB / 0.8872 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.01272, allocations: 27.8 kB / 0.8873 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.01274, allocations: 7.984 kB / 0.8873 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.886e-05/0.0128, allocations: 8 kB / 0.8873 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.01286, allocations: 19.97 kB / 0.8873 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.01287, allocations: 7.984 kB / 0.8873 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001183/0.01299, allocations: 209.1 kB / 0.8875 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01299, allocations: 4 kB / 0.8875 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002297/0.01322, allocations: 55.88 kB / 0.8876 GB, free: 12.36 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.0009135/0.01413, allocations: 398.4 kB / 0.8879 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.01438, allocations: 121 kB / 0.8881 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01438, allocations: 0 / 0.8881 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.063e-05/0.01445, allocations: 57.62 kB / 0.8881 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.0002959/0.01475, allocations: 58.77 kB / 0.8882 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.01537, allocations: 383 kB / 0.8885 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.329e-05/0.01543, allocations: 88.31 kB / 0.8886 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.023e-05/0.0155, allocations: 29.92 kB / 0.8886 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.01557, allocations: 28.5 kB / 0.8887 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of SimCode: time 8.71e-07/0.01557, allocations: 0 / 0.8887 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.006106/0.02167, allocations: 3.535 MB / 0.8921 GB, free: 7.809 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.331925101112574]