Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_9_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.004957/0.004957, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001171/0.001171, allocations: 190.4 kB / 16.67 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 1.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 66.89 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2674, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002655/0.2701, allocations: 1.548 MB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009786/0.2711, allocations: 0.5702 MB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.344e-05/0.2712, allocations: 0 / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.2714, allocations: 7.922 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.703e-05/0.2714, allocations: 19.81 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.2718, allocations: 91.77 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.272, allocations: 103.6 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2721, allocations: 20.22 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.2722, allocations: 51.78 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.169e-05/0.2723, allocations: 47.81 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.2724, allocations: 8 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.2725, allocations: 91.84 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.372e-05/0.2726, allocations: 15.92 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.353e-05/0.2727, allocations: 39.8 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.2729, allocations: 142.4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2729, allocations: 4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2729, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2729, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 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.0007587/0.2737, allocations: 449.6 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2737, allocations: 8.031 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.2738, allocations: 46.75 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.2738, allocations: 16.73 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.274, allocations: 189.9 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.274, allocations: 4.375 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.274, allocations: 8.375 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.2743, allocations: 101.7 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.2744, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.2744, allocations: 4 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.2744, allocations: 7.984 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.2747, allocations: 91.86 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006407/0.2754, allocations: 348.6 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.2757, allocations: 90.52 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.2759, allocations: 56.88 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.2759, allocations: 7.938 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003382/0.2763, allocations: 115.3 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.724e-06/0.2763, allocations: 0 / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006896/0.277, allocations: 213.4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.277, allocations: 51.41 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.2772, allocations: 135.7 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.2772, allocations: 37.7 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.2773, allocations: 104 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.2773, allocations: 23.78 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.531e-05/0.2774, allocations: 29.61 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.2775, allocations: 326.8 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.2777, allocations: 52.06 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.2779, allocations: 67.89 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.2783, allocations: 142.4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2783, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004829/0.2788, allocations: 195.2 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.045e-05/0.2789, allocations: 37.7 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2789, allocations: 80 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2789, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.2791, allocations: 19.97 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2791, allocations: 3.984 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.2793, allocations: 23.86 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.2793, allocations: 7.938 kB / 1.093 GB, free: 12.06 MB / 0.8575 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.0001154/0.2794, allocations: 125.8 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.2794, allocations: 7.906 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.2795, allocations: 12.72 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.2795, allocations: 7.984 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2795, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2795, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.2797, allocations: 205.9 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.2797, allocations: 4 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.2799, allocations: 15.97 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.2799, allocations: 4 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.2799, allocations: 4 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2799, allocations: 7.938 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2799, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.2804, allocations: 180.8 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.2804, allocations: 88.95 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.2805, allocations: 11.98 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.2806, allocations: 11.98 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.2807, allocations: 15.98 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.2807, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.855e-05/0.2808, allocations: 111.2 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2808, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000251/0.281, allocations: 32 kB / 1.094 GB, free: 11.13 MB / 0.8575 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.0007474/0.2818, allocations: 0.7411 MB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004601/0.2822, allocations: 187.2 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2823, allocations: 0 / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.2825, allocations: 59.95 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.2827, allocations: 11.98 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.2851, allocations: 1.721 MB / 1.096 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.2854, allocations: 0.7018 MB / 1.097 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.459e-05/0.2855, allocations: 15.98 kB / 1.097 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.2855, allocations: 27.42 kB / 1.097 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of SimCode: time 4.41e-07/0.2855, allocations: 0 / 1.097 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.3052, allocations: 2.754 MB / 1.1 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.56, allocations: 4.062 kB / 1.1 GB, free: 4.855 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches