Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.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.00193/0.00193, allocations: 84.73 kB / 19.44 MB, free: 360 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.002427/0.002427, allocations: 157.7 kB / 22.75 MB, free: 1.688 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 1.492/1.492, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 3.323/3.323, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] 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.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8775 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.932e-05, allocations: 2.875 kB / 0.8775 GB, free: 5.355 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003103/0.003132, allocations: 1.551 MB / 0.8791 GB, free: 3.82 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.00448, allocations: 0.6119 MB / 0.8797 GB, free: 3.207 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.332e-05/0.004553, allocations: 4.5 kB / 0.8797 GB, free: 3.203 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.004663, allocations: 16.42 kB / 0.8797 GB, free: 3.188 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.004726, allocations: 16.92 kB / 0.8797 GB, free: 3.172 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.005225, allocations: 108.5 kB / 0.8798 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.005439, allocations: 103.6 kB / 0.8799 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.005536, allocations: 8.969 kB / 0.8799 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.00576, allocations: 71.75 kB / 0.88 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.005863, allocations: 40.64 kB / 0.88 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.00589, allocations: 8 kB / 0.88 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.006071, allocations: 88.47 kB / 0.8801 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.006129, allocations: 24.67 kB / 0.8801 GB, free: 2.727 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 7.961e-05/0.006209, allocations: 27.92 kB / 0.8802 GB, free: 2.699 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.006515, allocations: 172 kB / 0.8803 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.006517, allocations: 0 / 0.8803 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.52e-07/0.006518, allocations: 0.9062 kB / 0.8803 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.006523, allocations: 0 / 0.8803 GB, free: 2.531 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008545/0.007378, allocations: 385.1 kB / 0.8807 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.007416, allocations: 12.03 kB / 0.8807 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003043/0.007721, allocations: 33.92 kB / 0.8807 GB, free: 2.078 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.007981, allocations: 147.6 kB / 0.8809 GB, free: 1.91 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.007992, allocations: 1.5 kB / 0.8809 GB, free: 1.91 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.008013, allocations: 8.359 kB / 0.8809 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.008364, allocations: 107 kB / 0.881 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.008376, allocations: 4.672 kB / 0.881 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.00839, allocations: 2 kB / 0.881 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.008415, allocations: 7.938 kB / 0.881 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.00878, allocations: 89.05 kB / 0.8811 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/0.009478, allocations: 281.5 kB / 0.8813 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.009817, allocations: 83.17 kB / 0.8814 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.01002, allocations: 58.91 kB / 0.8815 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.01006, allocations: 8 kB / 0.8815 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.01038, allocations: 116.2 kB / 0.8816 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.01038, allocations: 4 kB / 0.8816 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of matching and sorting (n=9): time 0.0007603/0.01114, allocations: 215 kB / 0.8818 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.01119, allocations: 58.38 kB / 0.8819 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.01142, allocations: 139.8 kB / 0.882 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.01145, allocations: 33.64 kB / 0.882 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.01154, allocations: 100.1 kB / 0.8821 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.01157, allocations: 27.78 kB / 0.8822 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.01164, allocations: 25.7 kB / 0.8822 GB, free: 492 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.01181, allocations: 326.8 kB / 0.8825 GB, free: 156 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.01206, allocations: 83.22 kB / 0.8826 GB, free: 68 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.0123, allocations: 81.66 kB / 0.8826 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.01271, allocations: 156.7 kB / 0.8828 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01271, allocations: 0 / 0.8828 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005837/0.0133, allocations: 230.4 kB / 0.883 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.01334, allocations: 35.73 kB / 0.8831 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01335, allocations: 4 kB / 0.8831 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.01337, allocations: 3.984 kB / 0.8831 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.01352, allocations: 15.98 kB / 0.8831 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01352, allocations: 0 / 0.8831 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.01367, allocations: 23.92 kB / 0.8831 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.01369, allocations: 7.922 kB / 0.8831 GB, free: 15.48 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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.0001226/0.01381, allocations: 129.7 kB / 0.8832 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.01385, allocations: 15.91 kB / 0.8832 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.01389, allocations: 20.77 kB / 0.8833 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.01391, allocations: 4 kB / 0.8833 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.01391, allocations: 0 / 0.8833 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.01391, allocations: 0 / 0.8833 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.01409, allocations: 133.2 kB / 0.8834 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01409, allocations: 0 / 0.8834 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.01421, allocations: 19.97 kB / 0.8834 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01421, allocations: 0 / 0.8834 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.01423, allocations: 4 kB / 0.8834 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.01423, allocations: 0 / 0.8834 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01423, allocations: 4 kB / 0.8834 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.01473, allocations: 192.9 kB / 0.8836 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.01476, allocations: 15.89 kB / 0.8836 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.01478, allocations: 0 / 0.8836 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.01493, allocations: 11.98 kB / 0.8836 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.01499, allocations: 15.97 kB / 0.8836 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.01501, allocations: 7.984 kB / 0.8837 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.033e-05/0.0151, allocations: 108.8 kB / 0.8838 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.0151, allocations: 0 / 0.8838 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002724/0.01537, allocations: 43.92 kB / 0.8838 GB, free: 14.71 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001982/0.01557, allocations: 111.2 kB / 0.8839 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000548/0.01611, allocations: 208.9 kB / 0.8841 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01612, allocations: 0 / 0.8841 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.01634, allocations: 63.89 kB / 0.8842 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.01657, allocations: 20.23 kB / 0.8842 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.01719, allocations: 233 kB / 0.8844 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.135e-05/0.01728, allocations: 85.45 kB / 0.8845 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.6e-05/0.01735, allocations: 19.97 kB / 0.8845 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.01741, allocations: 16.48 kB / 0.8845 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of SimCode: time 3.71e-07/0.01741, allocations: 0 / 0.8845 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of Templates: time 0.004886/0.0223, allocations: 1.496 MB / 0.886 GB, free: 12.43 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.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: 8.133173100999556]