Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009348/0.0009348, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001036/0.001036, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9031/0.9031, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.796/1.796, allocations: 377.8 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.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_12_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_12_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.9821 GB, free: 2.156 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.507e-05/4.711e-05, allocations: 10.22 kB / 0.9822 GB, free: 2.145 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002806/0.002853, allocations: 1.545 MB / 0.9837 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004088, allocations: 0.6077 MB / 0.9843 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.004208, allocations: 3.938 kB / 0.9843 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.004344, allocations: 19.86 kB / 0.9843 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.004407, allocations: 11.81 kB / 0.9843 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006106/0.005017, allocations: 111.6 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.005205, allocations: 103.6 kB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.005343, allocations: 16.22 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.00558, allocations: 63.77 kB / 0.9846 GB, free: 15.65 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.582e-05/0.005676, allocations: 43.88 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.005703, allocations: 8 kB / 0.9846 GB, free: 15.6 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.005846, allocations: 87.91 kB / 0.9847 GB, free: 15.51 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.71e-05/0.005913, allocations: 23.91 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.005973, allocations: 19.92 kB / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.006261, allocations: 175.5 kB / 0.9849 GB, free: 15.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.006266, allocations: 3.938 kB / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.923e-06/0.006268, allocations: 0 / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.006275, allocations: 4 kB / 0.9849 GB, free: 15.29 MB / 0.948 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.0007742/0.00705, allocations: 379.5 kB / 0.9853 GB, free: 14.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.007105, allocations: 12.03 kB / 0.9853 GB, free: 14.87 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.007334, allocations: 32.81 kB / 0.9853 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.007619, allocations: 137.6 kB / 0.9855 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.007638, allocations: 8.359 kB / 0.9855 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.007654, allocations: 4.375 kB / 0.9855 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.007921, allocations: 114.1 kB / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.007931, allocations: 192 / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.007947, allocations: 384 / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.007977, allocations: 11.92 kB / 0.9856 GB, free: 14.54 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.008167, allocations: 91.86 kB / 0.9857 GB, free: 14.45 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.008777, allocations: 280.3 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.009015, allocations: 90.44 kB / 0.986 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.00912, allocations: 60.81 kB / 0.9861 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.009139, allocations: 0 / 0.9861 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.009392, allocations: 115.3 kB / 0.9862 GB, free: 13.86 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 3.085e-06/0.009395, allocations: 0 / 0.9862 GB, free: 13.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0004764/0.009871, allocations: 213.5 kB / 0.9864 GB, free: 13.64 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.009923, allocations: 51.41 kB / 0.9864 GB, free: 13.58 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.01005, allocations: 143.9 kB / 0.9866 GB, free: 13.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.01007, allocations: 25.7 kB / 0.9866 GB, free: 13.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.01016, allocations: 108.1 kB / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.01018, allocations: 31.73 kB / 0.9867 GB, free: 13.26 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.01024, allocations: 25.7 kB / 0.9868 GB, free: 13.23 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.01036, allocations: 322.8 kB / 0.9871 GB, free: 12.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.01051, allocations: 89.64 kB / 0.9872 GB, free: 12.81 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.01063, allocations: 85.59 kB / 0.9872 GB, free: 12.72 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.01086, allocations: 150.5 kB / 0.9874 GB, free: 12.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.01086, allocations: 0 / 0.9874 GB, free: 12.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000324/0.01119, allocations: 221 kB / 0.9876 GB, free: 12.33 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.998e-05/0.01125, allocations: 37.7 kB / 0.9876 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.01126, allocations: 80 / 0.9876 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.01128, allocations: 0 / 0.9876 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005499/0.01183, allocations: 27.91 kB / 0.9877 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.01185, allocations: 3.984 kB / 0.9877 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.912e-05/0.01192, allocations: 23.88 kB / 0.9877 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.01194, allocations: 480 / 0.9877 GB, free: 12.23 MB / 0.948 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.0001161/0.01205, allocations: 129.8 kB / 0.9878 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.01207, allocations: 7.953 kB / 0.9878 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.01211, allocations: 20.72 kB / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.01213, allocations: 7.984 kB / 0.9878 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.01214, allocations: 4 kB / 0.9879 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01214, allocations: 0 / 0.9879 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.01229, allocations: 129.2 kB / 0.988 GB, free: 11.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.01229, allocations: 4 kB / 0.988 GB, free: 11.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.489e-05/0.01236, allocations: 15.97 kB / 0.988 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01236, allocations: 0 / 0.988 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.01237, allocations: 8 kB / 0.988 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.01238, allocations: 0 / 0.988 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.01238, allocations: 3.938 kB / 0.988 GB, free: 11.87 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.01267, allocations: 188.9 kB / 0.9882 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.01269, allocations: 7.953 kB / 0.9882 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.01272, allocations: 4 kB / 0.9882 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.528e-05/0.01277, allocations: 19.97 kB / 0.9882 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.01284, allocations: 11.98 kB / 0.9882 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.01285, allocations: 3.984 kB / 0.9882 GB, free: 11.62 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.271e-05/0.01291, allocations: 107.3 kB / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01291, allocations: 0 / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002318/0.01315, allocations: 51.86 kB / 0.9884 GB, free: 11.46 MB / 0.948 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.0002184/0.01336, allocations: 115.2 kB / 0.9885 GB, free: 11.34 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003624/0.01373, allocations: 205 kB / 0.9887 GB, free: 11.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01373, allocations: 3.938 kB / 0.9887 GB, free: 11.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.01384, allocations: 63.89 kB / 0.9888 GB, free: 11.06 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.01408, allocations: 15.98 kB / 0.9888 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006335/0.01471, allocations: 255.3 kB / 0.989 GB, free: 10.76 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.943e-05/0.01479, allocations: 85.62 kB / 0.9891 GB, free: 10.65 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.01484, allocations: 12.5 kB / 0.9891 GB, free: 10.64 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/0.01484, allocations: 3.938 kB / 0.9891 GB, free: 10.64 MB / 0.948 GB Notification: Performance of Templates: time 0.003447/0.01829, allocations: 1.581 MB / 0.9907 GB, free: 9.066 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.261496411636472]