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.003935/0.003935, allocations: 97.3 kB / 15.73 MB, free: 6.043 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.001132/0.001132, allocations: 199.5 kB / 16.68 MB, free: 5.965 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.323/1.323, 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 2.58/2.58, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001738, allocations: 60.12 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.27, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002544/0.2726, allocations: 1.553 MB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008986/0.2735, allocations: 0.5765 MB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.2736, allocations: 0 / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.458e-05/0.2737, allocations: 7.922 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.2737, allocations: 27.8 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.2741, allocations: 87.77 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.2742, allocations: 99.62 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.2743, allocations: 20.23 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.2744, allocations: 47.83 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.2745, allocations: 47.77 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.2745, allocations: 4 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.2747, allocations: 87.91 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.2747, allocations: 23.84 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.2748, allocations: 39.8 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.275, allocations: 139.5 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.275, allocations: 4 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.275, allocations: 3.938 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.275, allocations: 0 / 1.223 GB, free: 11.54 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.0007568/0.2758, allocations: 448.6 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2758, allocations: 12.03 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.2759, allocations: 34.75 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.2759, allocations: 16.84 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.2761, allocations: 202 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.2761, allocations: 4.375 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.2762, allocations: 12.31 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.2764, allocations: 105.7 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2765, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.2765, allocations: 4 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.2765, allocations: 4 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.2768, allocations: 91.84 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/0.2774, allocations: 340.7 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.2777, allocations: 90.5 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.2779, allocations: 64.88 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.2779, allocations: 4.062 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000302/0.2783, allocations: 119.3 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.2783, allocations: 0 / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006378/0.2789, allocations: 209.4 kB / 1.225 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.279, allocations: 55.41 kB / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.2791, allocations: 139.4 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.2791, allocations: 29.7 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.2792, allocations: 96.09 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.2792, allocations: 35.73 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.2793, allocations: 25.7 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2794, allocations: 331 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.2796, allocations: 51.95 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.2798, allocations: 59.89 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.2802, allocations: 154.4 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2802, allocations: 112 / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004561/0.2806, allocations: 199.2 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.2807, allocations: 29.7 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2807, allocations: 4 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.2807, allocations: 0 / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.2808, allocations: 23.97 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.738e-06/0.2809, allocations: 0 / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.281, allocations: 11.98 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.281, allocations: 11.94 kB / 1.226 GB, free: 8.324 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.0001031/0.2811, allocations: 129.7 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.2811, allocations: 11.91 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.2812, allocations: 8.719 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.2812, allocations: 8 kB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2812, allocations: 0 / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2812, allocations: 0 / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.2814, allocations: 205.5 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2814, allocations: 0 / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.2815, allocations: 19.97 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.2815, allocations: 0 / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2815, allocations: 0 / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.2815, allocations: 4 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2816, allocations: 0 / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.282, allocations: 188.8 kB / 1.226 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.282, allocations: 89.02 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.2821, allocations: 7.938 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.2822, allocations: 15.97 kB / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.2823, allocations: 15.98 kB / 1.226 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.2823, allocations: 4 kB / 1.226 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.284e-05/0.2824, allocations: 109.3 kB / 1.226 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2824, allocations: 192 / 1.226 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002168/0.2826, allocations: 39.92 kB / 1.227 GB, free: 7.383 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.0007789/0.2834, allocations: 0.7339 MB / 1.227 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004553/0.2838, allocations: 187.2 kB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2838, allocations: 0 / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.2841, allocations: 67.95 kB / 1.227 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.2842, allocations: 13.7 kB / 1.227 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.2865, allocations: 1.726 MB / 1.229 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.2868, allocations: 0.6963 MB / 1.23 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.025e-05/0.2869, allocations: 11.98 kB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.2869, allocations: 27.42 kB / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.2869, allocations: 4 kB / 1.23 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.314/2.6, allocations: 2.752 MB / 1.233 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/13.68, allocations: 3.406 kB / 1.233 GB, free: 1.105 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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