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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008347/0.0008347, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004919/0.004919, allocations: 170 kB / 16.26 MB, free: 6.613 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.174/1.174, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.17/2.17, allocations: 437.8 MB / 0.7121 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002893, allocations: 11.98 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.498/0.4983, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001421/0.4997, allocations: 1.27 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008502/0.5006, allocations: 0.5806 MB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.616e-05/0.5007, allocations: 4 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.08e-05/0.5007, allocations: 7.938 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.5008, allocations: 15.84 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.5011, allocations: 71.86 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.5012, allocations: 95.64 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.5013, allocations: 16.22 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.403e-05/0.5014, allocations: 43.83 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.5015, allocations: 35.78 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.5015, allocations: 4 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.626e-05/0.5016, allocations: 63.95 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.5016, allocations: 19.91 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.5017, allocations: 57.5 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.5019, allocations: 137.8 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.5019, allocations: 0 / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5019, allocations: 0 / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.5019, allocations: 0 / 1.025 GB, free: 13.44 MB / 0.7794 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.0006527/0.5025, allocations: 444.8 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.5026, allocations: 12.03 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.5026, allocations: 38.73 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.5027, allocations: 12.75 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.5028, allocations: 192.2 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-06/0.5028, allocations: 4.359 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.5028, allocations: 4.375 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.5031, allocations: 121.7 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.5031, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.5032, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.5032, allocations: 7.984 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.5035, allocations: 111.9 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/0.5041, allocations: 372.5 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.5044, allocations: 106.5 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.5046, allocations: 64.88 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.5046, allocations: 8 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.5049, allocations: 123.3 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.5049, allocations: 0 / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006162/0.5055, allocations: 241.4 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.5056, allocations: 55.41 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.823e-05/0.5057, allocations: 139.3 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.5057, allocations: 29.7 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.5058, allocations: 107.9 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.5058, allocations: 23.66 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.5058, allocations: 13.7 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.5059, allocations: 330.8 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.5061, allocations: 63.95 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.5063, allocations: 71.95 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.5067, allocations: 166.5 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5067, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004524/0.5071, allocations: 227.1 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.5072, allocations: 33.7 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.5072, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.5072, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.5073, allocations: 23.97 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.5073, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.5075, allocations: 27.97 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.5075, allocations: 7.938 kB / 1.029 GB, free: 10.06 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 7.95e-05/0.5076, allocations: 118.4 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.5076, allocations: 11.89 kB / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.5077, allocations: 12.72 kB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.5077, allocations: 4 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5077, allocations: 0 / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5077, allocations: 4.469 kB / 1.029 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.5079, allocations: 209.3 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5079, allocations: 0 / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.508, allocations: 23.98 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.508, allocations: 3.984 kB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.508, allocations: 3.938 kB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.508, allocations: 0 / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.508, allocations: 0 / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.5084, allocations: 208.8 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.5085, allocations: 85.02 kB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.5085, allocations: 0 / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.5086, allocations: 23.97 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.5087, allocations: 15.97 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.5087, allocations: 0 / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.461e-05/0.5088, allocations: 113.1 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5088, allocations: 0 / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000218/0.509, allocations: 44 kB / 1.029 GB, free: 9.098 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.0006865/0.5097, allocations: 0.7412 MB / 1.03 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.5101, allocations: 207.2 kB / 1.03 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5101, allocations: 0 / 1.03 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.5104, allocations: 79.89 kB / 1.03 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.5106, allocations: 19.91 kB / 1.03 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.5127, allocations: 1.777 MB / 1.032 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.5129, allocations: 0.7004 MB / 1.033 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.421e-05/0.513, allocations: 11.98 kB / 1.033 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.513, allocations: 27.42 kB / 1.033 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of SimCode: time 1.472e-06/0.513, allocations: 0 / 1.033 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4369/0.95, allocations: 2.427 MB / 1.035 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.9502, allocations: 194.3 kB / 1.035 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.849, allocations: 0 / 1.035 GB, free: 2.836 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches