Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001462/0.001462, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001669/0.001669, allocations: 168.3 kB / 24.87 MB, free: 8.871 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.865/1.865, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.[0-9,]+.|sigRan.y.[0-9,]+.",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.672e-05, allocations: 8.656 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002381/0.002408, allocations: 1.601 MB / 0.7898 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.003542, allocations: 0.6227 MB / 0.7904 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.003636, allocations: 3.938 kB / 0.7904 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.003775, allocations: 3.938 kB / 0.7905 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.003832, allocations: 32.41 kB / 0.7905 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.004247, allocations: 104.5 kB / 0.7906 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.004376, allocations: 99.58 kB / 0.7907 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.004468, allocations: 17.42 kB / 0.7907 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.004621, allocations: 63.83 kB / 0.7908 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.004685, allocations: 35.88 kB / 0.7908 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.004703, allocations: 9.406 kB / 0.7908 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.004819, allocations: 95.84 kB / 0.7909 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.004861, allocations: 23.91 kB / 0.7909 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.004895, allocations: 24.98 kB / 0.7909 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.005072, allocations: 151.5 kB / 0.7911 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.005074, allocations: 0 / 0.7911 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.91e-07/0.005075, allocations: 1.531 kB / 0.7911 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.005078, allocations: 4 kB / 0.7911 GB, free: 9.363 MB / 0.7448 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.0005001/0.005578, allocations: 477.7 kB / 0.7915 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.00561, allocations: 9.688 kB / 0.7916 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.005768, allocations: 28.88 kB / 0.7916 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.00591, allocations: 148.4 kB / 0.7917 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.005919, allocations: 1.969 kB / 0.7917 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.00593, allocations: 8.312 kB / 0.7917 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.006066, allocations: 86.89 kB / 0.7918 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.006073, allocations: 192 / 0.7918 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.006082, allocations: 6.156 kB / 0.7918 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.006103, allocations: 7.938 kB / 0.7918 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.426e-05/0.006137, allocations: 11.98 kB / 0.7918 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.006473, allocations: 298.7 kB / 0.7921 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.252e-05/0.006545, allocations: 39.05 kB / 0.7922 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.006571, allocations: 19.67 kB / 0.7922 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.006584, allocations: 0 / 0.7922 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.92e-05/0.006683, allocations: 85.03 kB / 0.7923 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.006684, allocations: 0 / 0.7923 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001667/0.006851, allocations: 78.25 kB / 0.7923 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.006881, allocations: 63.33 kB / 0.7924 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/0.006968, allocations: 195.9 kB / 0.7926 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.006983, allocations: 31.02 kB / 0.7926 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.007041, allocations: 150.7 kB / 0.7928 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.00706, allocations: 35.72 kB / 0.7928 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.007098, allocations: 28.53 kB / 0.7928 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.007222, allocations: 0.4962 MB / 0.7933 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.722e-05/0.007259, allocations: 37.8 kB / 0.7933 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.893e-05/0.007288, allocations: 41.62 kB / 0.7934 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.498e-05/0.007353, allocations: 66.75 kB / 0.7934 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.007357, allocations: 7.938 kB / 0.7934 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001379/0.007495, allocations: 149 kB / 0.7936 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.007516, allocations: 31.45 kB / 0.7936 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007521, allocations: 0 / 0.7936 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/0.007528, allocations: 0 / 0.7936 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.254e-05/0.0076, allocations: 15.98 kB / 0.7936 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.007602, allocations: 4 kB / 0.7936 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.368e-05/0.007656, allocations: 16.59 kB / 0.7937 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.007664, allocations: 0.875 kB / 0.7937 GB, free: 6.5 MB / 0.7448 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 7.112e-05/0.007736, allocations: 166.9 kB / 0.7938 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.007752, allocations: 19.88 kB / 0.7938 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.007775, allocations: 12.77 kB / 0.7938 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.007786, allocations: 8 kB / 0.7939 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.007788, allocations: 0 / 0.7939 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.007791, allocations: 2.188 kB / 0.7939 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.165e-05/0.007883, allocations: 125.1 kB / 0.794 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.007884, allocations: 0 / 0.794 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.007922, allocations: 11.98 kB / 0.794 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.007923, allocations: 3.938 kB / 0.794 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.00793, allocations: 4 kB / 0.794 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007931, allocations: 0.5312 kB / 0.794 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.007932, allocations: 0.7188 kB / 0.794 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.008046, allocations: 120.2 kB / 0.7941 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.00806, allocations: 20.34 kB / 0.7941 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.008076, allocations: 4 kB / 0.7941 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.927e-05/0.008116, allocations: 9.609 kB / 0.7941 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.008156, allocations: 11.98 kB / 0.7942 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.008163, allocations: 4 kB / 0.7942 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.859e-05/0.008211, allocations: 146.1 kB / 0.7943 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008211, allocations: 0 / 0.7943 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001726/0.008384, allocations: 36 kB / 0.7943 GB, free: 5.762 MB / 0.7448 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.0001258/0.00851, allocations: 124 kB / 0.7944 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.008642, allocations: 130 kB / 0.7946 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.008643, allocations: 0 / 0.7946 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.008684, allocations: 31.67 kB / 0.7946 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.008825, allocations: 17.31 kB / 0.7946 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.009258, allocations: 220.3 kB / 0.7948 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.129e-05/0.009289, allocations: 68.22 kB / 0.7949 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.153e-05/0.009331, allocations: 7.469 kB / 0.7949 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.373e-05/0.009394, allocations: 82.19 kB / 0.795 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.009395, allocations: 0 / 0.795 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of Templates: time 0.003028/0.01242, allocations: 1.668 MB / 0.7966 GB, free: 3.383 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.220208424143493]