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: "" <> 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.008281/0.008281, allocations: 101.1 kB / 15.73 MB, free: 6.055 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.002055/0.002055, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.538/1.538, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.992/2.992, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 79.81 kB / 1.018 GB, free: 9.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7613/0.7637, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00274/0.7665, allocations: 1.552 MB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.7675, allocations: 0.5804 MB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.7676, allocations: 0 / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.7677, allocations: 11.88 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.7678, allocations: 23.78 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.7682, allocations: 91.75 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.7684, allocations: 95.64 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.7685, allocations: 28.2 kB / 1.168 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.7686, allocations: 39.91 kB / 1.168 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.7687, allocations: 43.77 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.7688, allocations: 8 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.7689, allocations: 95.84 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.576e-05/0.769, allocations: 23.91 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.018e-05/0.7691, allocations: 39.8 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.7693, allocations: 143.1 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7693, allocations: 0 / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7693, allocations: 0 / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.7693, allocations: 0 / 1.169 GB, free: 1.016 MB / 0.8887 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.0008512/0.7702, allocations: 456.6 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.7702, allocations: 16.92 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.7703, allocations: 34.73 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.7704, allocations: 16.84 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.7706, allocations: 190.5 kB / 1.169 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.7706, allocations: 4.375 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.7706, allocations: 4.375 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.7709, allocations: 121.5 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.7709, allocations: 0 / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.771, allocations: 0 / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.771, allocations: 8 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.7714, allocations: 80 kB / 1.17 GB, free: 16 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006819/0.7721, allocations: 348.6 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.7724, allocations: 102.4 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.7726, allocations: 56.88 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.7726, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003385/0.773, allocations: 115.3 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.773, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0007159/0.7737, allocations: 205.4 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.7738, allocations: 55.41 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.7739, allocations: 145.8 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.774, allocations: 25.7 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.332e-05/0.7741, allocations: 96.09 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.7741, allocations: 31.84 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.7742, allocations: 29.7 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.7743, allocations: 330.7 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.7745, allocations: 51.95 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.7747, allocations: 59.95 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.7751, allocations: 150.5 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.7752, allocations: 0 / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000511/0.7757, allocations: 203.2 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.7757, allocations: 34.16 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.7757, allocations: 4 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.7758, allocations: 0 / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.7759, allocations: 15.98 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.7759, allocations: 0 / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.7761, allocations: 27.84 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.7761, allocations: 7.938 kB / 1.172 GB, free: 13.79 MB / 0.9044 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.0001133/0.7762, allocations: 121.8 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.7762, allocations: 11.91 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.7763, allocations: 12.7 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.7763, allocations: 4 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.7763, allocations: 0 / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.7763, allocations: 3.984 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.7765, allocations: 205.5 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7766, allocations: 0 / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.7767, allocations: 19.92 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7767, allocations: 4 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.7767, allocations: 7.984 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.7767, allocations: 4 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7767, allocations: 0 / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.7772, allocations: 180.9 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.7773, allocations: 85.06 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.7773, allocations: 4 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.7774, allocations: 19.86 kB / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.7775, allocations: 15.97 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.7775, allocations: 4 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.094e-05/0.7776, allocations: 113.4 kB / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7776, allocations: 0 / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002503/0.7779, allocations: 39.92 kB / 1.173 GB, free: 12.86 MB / 0.9044 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.0008854/0.7788, allocations: 0.7372 MB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005054/0.7793, allocations: 183.3 kB / 1.173 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7793, allocations: 0 / 1.173 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.7795, allocations: 63.89 kB / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.7798, allocations: 11.86 kB / 1.173 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.7823, allocations: 1.716 MB / 1.175 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.7827, allocations: 0.6963 MB / 1.176 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.725e-05/0.7828, allocations: 15.98 kB / 1.176 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.7829, allocations: 23.44 kB / 1.176 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.7829, allocations: 0 / 1.176 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.8068, allocations: 2.763 MB / 1.179 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.95/9.757, allocations: 18.91 kB / 1.179 GB, free: 6.578 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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