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.002318/0.002318, allocations: 85.48 kB / 19.44 MB, free: 344 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.002676/0.002676, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.566/1.566, 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.372/3.372, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.382e-06/1.382e-06, allocations: 0 / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.732e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003149/0.003176, allocations: 1.59 MB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.004417, allocations: 0.609 MB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.004479, allocations: 7.938 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.882e-05/0.004578, allocations: 7.875 kB / 0.8796 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-05/0.004638, allocations: 23.23 kB / 0.8796 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.005088, allocations: 115.6 kB / 0.8797 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.005258, allocations: 95.64 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.984e-05/0.005348, allocations: 12.22 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.005546, allocations: 63.81 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.652e-05/0.005642, allocations: 43.88 kB / 0.8799 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.00567, allocations: 8 kB / 0.8799 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.005856, allocations: 87.91 kB / 0.88 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.334e-05/0.00591, allocations: 20.86 kB / 0.88 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.005968, allocations: 27.91 kB / 0.88 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.006267, allocations: 183.4 kB / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.00627, allocations: 1.031 kB / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.61e-07/0.006271, allocations: 0 / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.006275, allocations: 0 / 0.8802 GB, free: 3.781 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008251/0.0071, allocations: 474.6 kB / 0.8807 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.007135, allocations: 13.14 kB / 0.8807 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/0.007415, allocations: 36.83 kB / 0.8807 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.007644, allocations: 146 kB / 0.8809 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.007656, allocations: 384 / 0.8809 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.007674, allocations: 4.969 kB / 0.8809 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.00794, allocations: 83.08 kB / 0.8809 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.007949, allocations: 192 / 0.8809 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.007962, allocations: 384 / 0.8809 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/0.007993, allocations: 13.02 kB / 0.881 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.008237, allocations: 57 kB / 0.881 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.008899, allocations: 335.6 kB / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.009154, allocations: 68.23 kB / 0.8814 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.009293, allocations: 48.27 kB / 0.8814 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.009312, allocations: 0.9688 kB / 0.8814 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.009573, allocations: 104.9 kB / 0.8815 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.009574, allocations: 0.75 kB / 0.8815 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0005664/0.01014, allocations: 156.9 kB / 0.8817 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.01019, allocations: 51.41 kB / 0.8817 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.0104, allocations: 216 kB / 0.8819 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.01042, allocations: 25.7 kB / 0.882 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.01055, allocations: 158.8 kB / 0.8821 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.01058, allocations: 23.84 kB / 0.8821 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/0.01066, allocations: 35.36 kB / 0.8822 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000278/0.01094, allocations: 0.5 MB / 0.8827 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.01111, allocations: 66.3 kB / 0.8827 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.01127, allocations: 70.27 kB / 0.8828 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.01155, allocations: 102.2 kB / 0.8829 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01155, allocations: 4.75 kB / 0.8829 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004348/0.01198, allocations: 194.4 kB / 0.8831 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.01203, allocations: 37.69 kB / 0.8831 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01203, allocations: 0 / 0.8831 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.01205, allocations: 0 / 0.8831 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.01218, allocations: 19.98 kB / 0.8831 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.01218, allocations: 0 / 0.8831 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.0123, allocations: 15.92 kB / 0.8832 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.01231, allocations: 4 kB / 0.8832 GB, free: 0.5352 MB / 0.8386 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.0001395/0.01245, allocations: 168.6 kB / 0.8833 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.01249, allocations: 19.91 kB / 0.8833 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.01253, allocations: 12.77 kB / 0.8834 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/0.01255, allocations: 4 kB / 0.8834 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.01255, allocations: 0 / 0.8834 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01256, allocations: 8 kB / 0.8834 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.01274, allocations: 152.5 kB / 0.8835 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.01275, allocations: 4 kB / 0.8835 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.323e-05/0.01284, allocations: 11.98 kB / 0.8835 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01284, allocations: 0 / 0.8835 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.01286, allocations: 3.984 kB / 0.8835 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01286, allocations: 0 / 0.8835 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01286, allocations: 0 / 0.8835 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.01326, allocations: 160.2 kB / 0.8837 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.01328, allocations: 15.91 kB / 0.8837 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.0133, allocations: 7.984 kB / 0.8837 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.01341, allocations: 11.98 kB / 0.8837 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.01348, allocations: 11.98 kB / 0.8837 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.0135, allocations: 7.984 kB / 0.8837 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001158/0.01361, allocations: 148.3 kB / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01361, allocations: 0 / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002507/0.01386, allocations: 47.92 kB / 0.8839 GB, free: 15.68 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: 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.000201/0.01406, allocations: 115.2 kB / 0.884 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004497/0.01451, allocations: 188.6 kB / 0.8842 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01452, allocations: 0 / 0.8842 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.01469, allocations: 55.59 kB / 0.8843 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.01492, allocations: 23.86 kB / 0.8843 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.01547, allocations: 206.8 kB / 0.8845 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.348e-05/0.01556, allocations: 93.31 kB / 0.8846 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.588e-05/0.01563, allocations: 11.98 kB / 0.8846 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.01568, allocations: 16.48 kB / 0.8846 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.01568, allocations: 0 / 0.8846 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.005406/0.02109, allocations: 1.508 MB / 0.8861 GB, free: 13.42 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] 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.459580226917751]