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.001711/0.001711, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001496/0.001496, allocations: 162.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.442/1.442, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.775/2.775, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] 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 1.603e-06/1.603e-06, allocations: 0 / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.64e-05, allocations: 9.234 kB / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002741/0.002767, allocations: 1.556 MB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.003963, allocations: 0.6115 MB / 0.9835 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.751e-05/0.004021, allocations: 0 / 0.9835 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.325e-05/0.004114, allocations: 11.86 kB / 0.9835 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.907e-05/0.004173, allocations: 23.8 kB / 0.9835 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.004607, allocations: 107.6 kB / 0.9836 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.00478, allocations: 99.62 kB / 0.9837 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.04e-05/0.00487, allocations: 12.23 kB / 0.9837 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.005083, allocations: 75.73 kB / 0.9838 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.987e-05/0.005173, allocations: 31.95 kB / 0.9838 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.005199, allocations: 8 kB / 0.9839 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.005365, allocations: 91.84 kB / 0.9839 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.005416, allocations: 23.91 kB / 0.984 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.005486, allocations: 27.91 kB / 0.984 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.005773, allocations: 171.4 kB / 0.9842 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.005777, allocations: 0 / 0.9842 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.815e-06/0.005779, allocations: 4 kB / 0.9842 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.005788, allocations: 4 kB / 0.9842 GB, free: 9.156 MB / 0.9356 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.0008494/0.006637, allocations: 383.4 kB / 0.9845 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.006674, allocations: 8.031 kB / 0.9845 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003106/0.006984, allocations: 32.86 kB / 0.9846 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.007249, allocations: 135.7 kB / 0.9847 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.007264, allocations: 12.3 kB / 0.9847 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.007288, allocations: 8.312 kB / 0.9847 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.007631, allocations: 102.2 kB / 0.9848 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.007639, allocations: 4.188 kB / 0.9848 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.007657, allocations: 4.375 kB / 0.9848 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/0.007688, allocations: 7.938 kB / 0.9848 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.008043, allocations: 79.92 kB / 0.9849 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006543/0.008698, allocations: 288.4 kB / 0.9852 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.009045, allocations: 86.52 kB / 0.9853 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.00924, allocations: 60.75 kB / 0.9853 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.009257, allocations: 0 / 0.9853 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003106/0.009567, allocations: 119.3 kB / 0.9854 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.009569, allocations: 0 / 0.9854 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0007109/0.01028, allocations: 201.5 kB / 0.9856 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.01033, allocations: 55.41 kB / 0.9857 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.01047, allocations: 151.8 kB / 0.9858 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.0105, allocations: 25.7 kB / 0.9859 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.01059, allocations: 104.1 kB / 0.986 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.01063, allocations: 31.78 kB / 0.986 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.781e-05/0.0107, allocations: 29.7 kB / 0.986 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.01087, allocations: 330.8 kB / 0.9863 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.0111, allocations: 81.66 kB / 0.9864 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.01132, allocations: 89.66 kB / 0.9865 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.01172, allocations: 142.6 kB / 0.9866 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01173, allocations: 3.938 kB / 0.9866 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005468/0.01227, allocations: 232.9 kB / 0.9868 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.01231, allocations: 29.7 kB / 0.9869 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01232, allocations: 0 / 0.9869 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.01233, allocations: 0 / 0.9869 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.01249, allocations: 31.97 kB / 0.9869 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.01249, allocations: 0 / 0.9869 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.01264, allocations: 23.86 kB / 0.9869 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.01266, allocations: 7.984 kB / 0.9869 GB, free: 6.098 MB / 0.9356 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.0001286/0.01279, allocations: 121.8 kB / 0.9871 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.01281, allocations: 8.422 kB / 0.9871 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.01286, allocations: 16.77 kB / 0.9871 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.01287, allocations: 4 kB / 0.9871 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01287, allocations: 4 kB / 0.9871 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01288, allocations: 0 / 0.9871 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.01305, allocations: 145.1 kB / 0.9872 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01306, allocations: 0 / 0.9872 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.01318, allocations: 19.97 kB / 0.9872 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01318, allocations: 0 / 0.9872 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.01319, allocations: 0 / 0.9872 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01319, allocations: 0 / 0.9872 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.0132, allocations: 0 / 0.9872 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.01371, allocations: 196.8 kB / 0.9874 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.01373, allocations: 11.89 kB / 0.9874 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.01376, allocations: 3.984 kB / 0.9874 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.01388, allocations: 11.98 kB / 0.9875 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.01395, allocations: 11.98 kB / 0.9875 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.01397, allocations: 7.984 kB / 0.9875 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.509e-05/0.01405, allocations: 105 kB / 0.9876 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01405, allocations: 0 / 0.9876 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002857/0.01434, allocations: 43.94 kB / 0.9876 GB, free: 5.344 MB / 0.9356 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.0002478/0.01459, allocations: 123.2 kB / 0.9877 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000556/0.01514, allocations: 212.9 kB / 0.9879 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01515, allocations: 0 / 0.9879 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.01537, allocations: 55.95 kB / 0.988 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.0156, allocations: 19.92 kB / 0.988 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.0162, allocations: 221.5 kB / 0.9882 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.121e-05/0.01629, allocations: 89.44 kB / 0.9883 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.842e-05/0.01636, allocations: 15.98 kB / 0.9883 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.01641, allocations: 12.5 kB / 0.9883 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.01641, allocations: 0 / 0.9883 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of Templates: time 0.004793/0.0212, allocations: 1.491 MB / 0.9898 GB, free: 3.062 MB / 0.9356 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.823547221720219]