Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 193.2 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 437 MB / 0.7099 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 67.84 kB / 0.8686 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6836/0.6862, allocations: 151.6 MB / 1.017 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003229/0.6895, allocations: 1.62 MB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.6906, allocations: 0.5961 MB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.6906, allocations: 3.938 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.6908, allocations: 11.92 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-05/0.6908, allocations: 15.86 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.6912, allocations: 67.88 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.6913, allocations: 91.62 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.6914, allocations: 24.22 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.6915, allocations: 39.84 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.6916, allocations: 43.81 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.6917, allocations: 8 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.6918, allocations: 59.89 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.6919, allocations: 15.92 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.6919, allocations: 31.8 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.6922, allocations: 137.6 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6922, allocations: 0 / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of FrontEnd: time 9.22e-07/0.6922, allocations: 4 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.6922, allocations: 0 / 1.019 GB, free: 60 kB / 0.7637 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.0009099/0.6931, allocations: 452.8 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.6932, allocations: 11.97 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.6932, allocations: 8.844 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.6935, allocations: 190.2 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.6935, allocations: 4.375 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.6935, allocations: 8.359 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.6938, allocations: 109.9 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.6939, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.6939, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.6939, allocations: 7.984 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.6943, allocations: 91.86 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007378/0.695, allocations: 356.6 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.6954, allocations: 90.45 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.6956, allocations: 64.88 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.6956, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004084/0.696, allocations: 107.3 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.694e-06/0.696, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0007139/0.6968, allocations: 217.3 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.6968, allocations: 51.41 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.697, allocations: 139.7 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.697, allocations: 29.78 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.6971, allocations: 107.9 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.6971, allocations: 23.66 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.6972, allocations: 29.7 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6974, allocations: 326.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.6976, allocations: 55.95 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.6978, allocations: 55.95 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.6981, allocations: 146.4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6982, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005017/0.6987, allocations: 203.2 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.6987, allocations: 33.7 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6987, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.6988, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.6989, allocations: 27.91 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.6989, allocations: 4 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.6991, allocations: 15.98 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.6991, allocations: 4 kB / 1.022 GB, free: 12.9 MB / 0.7794 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.0001186/0.6992, allocations: 125.8 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.6993, allocations: 7.906 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.6993, allocations: 12.72 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.6993, allocations: 11.98 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6993, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6993, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.6996, allocations: 205.5 kB / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6996, allocations: 0 / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.6997, allocations: 19.97 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6997, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.6997, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6997, allocations: 480 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.6997, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.7002, allocations: 192.7 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.7003, allocations: 85.02 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.7003, allocations: 3.984 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.7004, allocations: 15.98 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.7005, allocations: 15.98 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.7005, allocations: 7.922 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.967e-05/0.7006, allocations: 103.3 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7006, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002561/0.7009, allocations: 43.94 kB / 1.023 GB, free: 11.96 MB / 0.7794 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.000198/0.7011, allocations: 123.7 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004981/0.7016, allocations: 179.3 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7016, allocations: 0 / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.7018, allocations: 67.89 kB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.7021, allocations: 14.48 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/0.7027, allocations: 249.4 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.703, allocations: 0.6965 MB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.641e-05/0.7031, allocations: 15.98 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.7031, allocations: 15.42 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.7032, allocations: 0 / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of Templates: time 0.004312/0.7075, allocations: 1.287 MB / 1.026 GB, free: 9.266 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches