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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_11_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.008515/0.008516, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.002327/0.002328, allocations: 197.5 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.816/2.816, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 5.636/5.636, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003243/0.003244, allocations: 64.09 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6391/0.6424, allocations: 159.1 MB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.02016/0.6626, allocations: 1.559 MB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.6645, allocations: 0.5726 MB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.6646, allocations: 7.938 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.6648, allocations: 3.938 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.6649, allocations: 23.78 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.6656, allocations: 91.77 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.6658, allocations: 99.64 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.6659, allocations: 28.2 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.6661, allocations: 39.84 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.6662, allocations: 47.77 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.6663, allocations: 8 kB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.6666, allocations: 79.92 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.946e-05/0.6667, allocations: 27.89 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.995e-05/0.6668, allocations: 39.8 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.6672, allocations: 135.4 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6672, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.608e-06/0.6672, allocations: 3.984 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.453e-06/0.6672, allocations: 4 kB / 1.223 GB, free: 11.58 MB / 0.9825 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.001331/0.6686, allocations: 448.7 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/0.6687, allocations: 12.03 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.537e-05/0.6687, allocations: 42.72 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.6688, allocations: 12.84 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.6692, allocations: 204.1 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.6692, allocations: 384 / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.6693, allocations: 8.375 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.6698, allocations: 105.7 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.6698, allocations: 4 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.6699, allocations: 3.984 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/0.6699, allocations: 4 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/0.6706, allocations: 83.92 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.6716, allocations: 356.6 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/0.6722, allocations: 86.52 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.6726, allocations: 64.88 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.6727, allocations: 3.938 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005741/0.6732, allocations: 115.3 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 2.966e-06/0.6733, allocations: 0 / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.001318/0.6746, allocations: 217.4 kB / 1.225 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.6747, allocations: 51.41 kB / 1.225 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.6749, allocations: 139.5 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.675, allocations: 25.7 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.6751, allocations: 104.1 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/0.6752, allocations: 31.81 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.6753, allocations: 29.7 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000221/0.6755, allocations: 326.8 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.676, allocations: 55.95 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.6764, allocations: 51.95 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007771/0.6771, allocations: 154.5 kB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6772, allocations: 0 / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.01717/0.6943, allocations: 199.2 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/0.6945, allocations: 33.7 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.6945, allocations: 3.984 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.6945, allocations: 4 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.6948, allocations: 19.98 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.6949, allocations: 0 / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.6951, allocations: 11.98 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/0.6952, allocations: 11.92 kB / 1.226 GB, free: 8.359 MB / 0.9825 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.0001914/0.6954, allocations: 125.7 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.6955, allocations: 11.91 kB / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.087e-05/0.6955, allocations: 17.17 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/0.6956, allocations: 4 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6956, allocations: 4 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.6956, allocations: 0 / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.696, allocations: 197.5 kB / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.696, allocations: 3.938 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.6962, allocations: 15.98 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.6963, allocations: 0 / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.6963, allocations: 3.984 kB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.6963, allocations: 0 / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.6963, allocations: 7.984 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009161/0.6973, allocations: 188.9 kB / 1.226 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.6974, allocations: 89 kB / 1.226 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.6974, allocations: 4 kB / 1.226 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.6977, allocations: 15.92 kB / 1.226 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.6978, allocations: 11.98 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.6979, allocations: 11.98 kB / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000141/0.698, allocations: 109.1 kB / 1.226 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.31e-07/0.698, allocations: 0 / 1.226 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004959/0.6986, allocations: 39.94 kB / 1.227 GB, free: 7.414 MB / 0.9825 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.001475/0.7, allocations: 0.7339 MB / 1.227 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009177/0.701, allocations: 179.2 kB / 1.227 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.701, allocations: 0 / 1.227 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004303/0.7015, allocations: 71.94 kB / 1.227 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.7018, allocations: 8.188 kB / 1.227 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004535/0.7064, allocations: 1.722 MB / 1.229 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.7069, allocations: 0.6963 MB / 1.23 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001343/0.707, allocations: 11.98 kB / 1.23 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.7072, allocations: 31.42 kB / 1.23 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of SimCode: time 1.122e-06/0.7072, allocations: 0 / 1.23 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1463/0.8535, allocations: 2.768 MB / 1.233 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.36, allocations: 5.547 kB / 1.233 GB, free: 1.133 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches