Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_latest_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.008692/0.008692, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.002071/0.002071, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.652/1.652, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.623/2.623, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 1.054 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2866, allocations: 157.4 MB / 1.207 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002451/0.2891, allocations: 1.553 MB / 1.209 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009243/0.29, allocations: 0.5808 MB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.2901, allocations: 4 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.955e-05/0.2902, allocations: 11.88 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.256e-05/0.2903, allocations: 15.8 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.2907, allocations: 91.77 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.2908, allocations: 95.7 kB / 1.21 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2909, allocations: 28.2 kB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.2911, allocations: 39.84 kB / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.79e-05/0.2912, allocations: 51.75 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.2912, allocations: 8 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.2913, allocations: 87.84 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.2914, allocations: 19.92 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.326e-05/0.2914, allocations: 39.8 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.2916, allocations: 139.8 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2917, allocations: 4 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2917, allocations: 0 / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2917, allocations: 0 / 1.21 GB, free: 7.449 MB / 0.9669 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.000717/0.2924, allocations: 456.6 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2924, allocations: 12.62 kB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.2925, allocations: 34.75 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.2925, allocations: 8.844 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.2927, allocations: 205.6 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2927, allocations: 384 / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.2927, allocations: 12.31 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.293, allocations: 105.7 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.2931, allocations: 4 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2931, allocations: 0 / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.2931, allocations: 8 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003432/0.2934, allocations: 91.84 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006026/0.2941, allocations: 344.7 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.2944, allocations: 98.44 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.2945, allocations: 60.88 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.2945, allocations: 0 / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003052/0.2949, allocations: 111.3 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.2949, allocations: 0 / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005881/0.2955, allocations: 209.3 kB / 1.212 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.2955, allocations: 51.41 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.2956, allocations: 142.5 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.2957, allocations: 29.7 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.2957, allocations: 96.08 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.2958, allocations: 35.67 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.2958, allocations: 25.7 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.2959, allocations: 326.8 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.2961, allocations: 55.95 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.2963, allocations: 59.89 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.2966, allocations: 150.5 kB / 1.213 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2966, allocations: 112 / 1.213 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004196/0.297, allocations: 195.2 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.2971, allocations: 33.69 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2971, allocations: 0 / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2971, allocations: 8 kB / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.2972, allocations: 19.92 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2973, allocations: 0 / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.2974, allocations: 23.81 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.2974, allocations: 7.938 kB / 1.213 GB, free: 4.23 MB / 0.9669 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 9.333e-05/0.2975, allocations: 122.3 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.2975, allocations: 7.906 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.2976, allocations: 16.7 kB / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.2976, allocations: 7.938 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2976, allocations: 0 / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2976, allocations: 0 / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.2978, allocations: 205.5 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2978, allocations: 0 / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.2979, allocations: 15.98 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2979, allocations: 0 / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.2979, allocations: 7.984 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.2979, allocations: 0 / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2979, allocations: 3.938 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000423/0.2984, allocations: 184.9 kB / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.2984, allocations: 81.02 kB / 1.213 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.2984, allocations: 7.938 kB / 1.213 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.2986, allocations: 15.98 kB / 1.213 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.2986, allocations: 15.97 kB / 1.213 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.2987, allocations: 8 kB / 1.213 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.246e-05/0.2987, allocations: 108.6 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2987, allocations: 3.938 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002417/0.299, allocations: 43.89 kB / 1.214 GB, free: 3.293 MB / 0.9669 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.0007406/0.2997, allocations: 0.7294 MB / 1.214 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004283/0.3002, allocations: 183.2 kB / 1.215 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3002, allocations: 0 / 1.215 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.3004, allocations: 72.08 kB / 1.215 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.3006, allocations: 14 kB / 1.215 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.3028, allocations: 1.716 MB / 1.216 GB, free: 472 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.303, allocations: 0.7022 MB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.496e-05/0.3031, allocations: 15.97 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.3032, allocations: 23.44 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.3032, allocations: 4 kB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.3205, allocations: 2.798 MB / 1.22 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.005/7.326, allocations: 4.656 kB / 1.22 GB, free: 12.99 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches