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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00236/0.00236, allocations: 220.8 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.093/3.093, allocations: 0.505 GB / 0.8101 GB, free: 22.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 67.95 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.28, allocations: 180.2 MB / 1.353 GB, free: 8.543 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002621/0.2827, allocations: 1.583 MB / 1.354 GB, free: 6.949 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.2838, allocations: 0.6583 MB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/0.2839, allocations: 0 / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.261e-05/0.284, allocations: 11.86 kB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.284, allocations: 19.8 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.2844, allocations: 111.7 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.2846, allocations: 95.69 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.2847, allocations: 24.45 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.2848, allocations: 51.83 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.604e-05/0.2849, allocations: 39.83 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.2849, allocations: 8 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.2851, allocations: 107.8 kB / 1.355 GB, free: 5.82 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.2852, allocations: 19.92 kB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.2852, allocations: 47.72 kB / 1.356 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.2855, allocations: 151.4 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2855, allocations: 7.984 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2855, allocations: 0 / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2855, allocations: 4 kB / 1.356 GB, free: 5.594 MB / 1.045 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.0007211/0.2862, allocations: 379.5 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2862, allocations: 8.031 kB / 1.356 GB, free: 5.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.2863, allocations: 42.69 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.2865, allocations: 40.81 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.2867, allocations: 136.4 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.2867, allocations: 8.375 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.2868, allocations: 4.375 kB / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.287, allocations: 113.6 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2871, allocations: 0 / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2871, allocations: 0 / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.2871, allocations: 4 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.2874, allocations: 91.92 kB / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.288, allocations: 323.7 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.2883, allocations: 86.52 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.2884, allocations: 57.44 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.2884, allocations: 0 / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000271/0.2887, allocations: 115.3 kB / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.2887, allocations: 0 / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0005913/0.2893, allocations: 205.5 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.2893, allocations: 51.41 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.2895, allocations: 147.2 kB / 1.357 GB, free: 3.652 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.2895, allocations: 29.7 kB / 1.357 GB, free: 3.617 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.2896, allocations: 108 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.2896, allocations: 31.8 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.2896, allocations: 25.7 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2898, allocations: 326.8 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.2899, allocations: 51.95 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.2901, allocations: 56.23 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.2904, allocations: 146.5 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2904, allocations: 0 / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004453/0.2909, allocations: 207.3 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.2909, allocations: 35.11 kB / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2909, allocations: 0 / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2909, allocations: 7.984 kB / 1.358 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.2911, allocations: 19.97 kB / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2911, allocations: 3.938 kB / 1.358 GB, free: 2.574 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.2912, allocations: 23.88 kB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.2912, allocations: 4 kB / 1.358 GB, free: 2.547 MB / 1.045 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.63e-05/0.2913, allocations: 121.8 kB / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.2914, allocations: 7.953 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.2914, allocations: 16.72 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.2914, allocations: 3.984 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2914, allocations: 7.938 kB / 1.359 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2914, allocations: 0 / 1.359 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.2916, allocations: 164.7 kB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2916, allocations: 7.938 kB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.2917, allocations: 15.97 kB / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2917, allocations: 0 / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2917, allocations: 8 kB / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2917, allocations: 0 / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.2917, allocations: 7.938 kB / 1.359 GB, free: 2.141 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.2921, allocations: 180.9 kB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.2921, allocations: 15.89 kB / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.2921, allocations: 0 / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.2923, allocations: 19.98 kB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.2923, allocations: 19.91 kB / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.2923, allocations: 3.938 kB / 1.359 GB, free: 1.887 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.64e-05/0.2924, allocations: 106.3 kB / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.2924, allocations: 0 / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002387/0.2926, allocations: 39.92 kB / 1.359 GB, free: 1.746 MB / 1.045 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.000759/0.2934, allocations: 0.7412 MB / 1.36 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004333/0.2938, allocations: 175.3 kB / 1.36 GB, free: 0.793 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2938, allocations: 0 / 1.36 GB, free: 0.793 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.294, allocations: 63.89 kB / 1.36 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.2942, allocations: 15.92 kB / 1.36 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.2965, allocations: 1.707 MB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.2968, allocations: 0.7039 MB / 1.362 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.591e-05/0.2968, allocations: 11.98 kB / 1.362 GB, free: 14.17 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.2969, allocations: 35.42 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.2969, allocations: 0 / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2631/0.56, allocations: 2.969 MB / 1.365 GB, free: 11.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.29, allocations: 10.56 kB / 1.365 GB, free: 11.29 MB / 1.061 GB " [Timeout remaining time 286] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.93043856602162]