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.00154/0.00154, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001921/0.001921, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.994/0.994, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.017/2.017, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sigRan.u.[0-9,]+.|sigRan.y.[0-9,]+.",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.[0-9,]+.|sigRan.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8793 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.913e-05, allocations: 4.188 kB / 0.8793 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003052/0.003081, allocations: 1.612 MB / 0.8809 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.004287, allocations: 0.624 MB / 0.8815 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.256e-05/0.004369, allocations: 3.938 kB / 0.8815 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.004492, allocations: 15.88 kB / 0.8815 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.004558, allocations: 19.78 kB / 0.8816 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.005118, allocations: 103.7 kB / 0.8817 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.005304, allocations: 103.6 kB / 0.8818 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.005418, allocations: 13.69 kB / 0.8818 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.005643, allocations: 67.75 kB / 0.8818 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.667e-05/0.00574, allocations: 35.95 kB / 0.8819 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.005767, allocations: 8.969 kB / 0.8819 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.005944, allocations: 95.78 kB / 0.882 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.005994, allocations: 19.91 kB / 0.882 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.006038, allocations: 25.05 kB / 0.882 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.006296, allocations: 155.5 kB / 0.8822 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.006299, allocations: 0 / 0.8822 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/0.0063, allocations: 1.125 kB / 0.8822 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.006305, allocations: 0 / 0.8822 GB, free: 3.207 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.0005978/0.006903, allocations: 474.8 kB / 0.8826 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.006942, allocations: 12.02 kB / 0.8826 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.007176, allocations: 33.7 kB / 0.8827 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.007365, allocations: 154.5 kB / 0.8828 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.007383, allocations: 8.375 kB / 0.8828 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.007399, allocations: 6.031 kB / 0.8828 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.00759, allocations: 78.91 kB / 0.8829 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.007599, allocations: 192 / 0.8829 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.007609, allocations: 0.875 kB / 0.8829 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/0.007645, allocations: 11.92 kB / 0.8829 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.622e-05/0.007701, allocations: 9.75 kB / 0.8829 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.008213, allocations: 300.3 kB / 0.8832 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.00832, allocations: 39.05 kB / 0.8832 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.008355, allocations: 12.44 kB / 0.8833 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.008369, allocations: 0.7812 kB / 0.8833 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.008516, allocations: 92.97 kB / 0.8833 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.315e-06/0.008518, allocations: 1.594 kB / 0.8834 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002068/0.008725, allocations: 89.5 kB / 0.8834 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.008754, allocations: 51.41 kB / 0.8835 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.008841, allocations: 203 kB / 0.8837 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.008856, allocations: 28.52 kB / 0.8837 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.008915, allocations: 154.7 kB / 0.8839 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.008932, allocations: 27.73 kB / 0.8839 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.008972, allocations: 31.36 kB / 0.8839 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.009079, allocations: 0.4962 MB / 0.8844 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.605e-05/0.009115, allocations: 41.69 kB / 0.8844 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.009143, allocations: 41.69 kB / 0.8845 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.663e-05/0.009199, allocations: 61.38 kB / 0.8845 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.009202, allocations: 9.656 kB / 0.8845 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001319/0.009334, allocations: 141 kB / 0.8847 GB, free: 424 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.009359, allocations: 33.69 kB / 0.8847 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.009365, allocations: 4 kB / 0.8847 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.014e-06/0.009372, allocations: 4 kB / 0.8847 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.009449, allocations: 15.98 kB / 0.8847 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-06/0.009451, allocations: 0 / 0.8847 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.009507, allocations: 19.97 kB / 0.8847 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.00952, allocations: 4 kB / 0.8848 GB, free: 336 kB / 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 6.999e-05/0.00959, allocations: 160.5 kB / 0.8849 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.009605, allocations: 15.91 kB / 0.8849 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.009631, allocations: 20.77 kB / 0.8849 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.009642, allocations: 4 kB / 0.8849 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.009643, allocations: 4 kB / 0.8849 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.009646, allocations: 0 / 0.8849 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.009754, allocations: 117.2 kB / 0.8851 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.009756, allocations: 4 kB / 0.8851 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.009794, allocations: 15.98 kB / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.009797, allocations: 3.938 kB / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.009803, allocations: 0 / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.009804, allocations: 0 / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009805, allocations: 3.938 kB / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.009929, allocations: 116.3 kB / 0.8852 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.009944, allocations: 19.78 kB / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.009961, allocations: 11.98 kB / 0.8852 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.956e-05/0.01, allocations: 8 kB / 0.8852 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.01004, allocations: 11.97 kB / 0.8852 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.01005, allocations: 4 kB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.478e-05/0.01009, allocations: 145 kB / 0.8854 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01009, allocations: 0 / 0.8854 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001623/0.01026, allocations: 36 kB / 0.8854 GB, free: 15.58 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.0001418/0.0104, allocations: 119.2 kB / 0.8855 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.01054, allocations: 136.7 kB / 0.8857 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01054, allocations: 4 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.018e-05/0.01058, allocations: 27.61 kB / 0.8857 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.01074, allocations: 15.94 kB / 0.8857 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.01118, allocations: 206.9 kB / 0.8859 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.328e-05/0.01121, allocations: 71.33 kB / 0.886 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.728e-05/0.01125, allocations: 4 kB / 0.886 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.449e-05/0.01132, allocations: 86.19 kB / 0.8861 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.01132, allocations: 0 / 0.8861 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of Templates: time 0.00316/0.01448, allocations: 1.672 MB / 0.8877 GB, free: 13.18 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","",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.3398713720962405]