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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 110.9 kB / 17.93 MB, free: 3.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 200.4 kB / 21.18 MB, free: 0.6875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.6 MB / 249.9 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.731/2.731, allocations: 476.7 MB / 0.7634 GB, free: 10.91 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 63.89 kB / 1.108 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7337/0.7357, allocations: 168.7 MB / 1.272 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002693/0.7384, allocations: 1.566 MB / 1.274 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.7395, allocations: 0.5858 MB / 1.274 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.45e-05/0.7395, allocations: 0 / 1.274 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.7396, allocations: 15.86 kB / 1.274 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.504e-05/0.7397, allocations: 19.8 kB / 1.274 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.7401, allocations: 87.77 kB / 1.275 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.7402, allocations: 103.6 kB / 1.275 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.7403, allocations: 16.22 kB / 1.275 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.7405, allocations: 39.84 kB / 1.275 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.478e-05/0.7405, allocations: 43.83 kB / 1.275 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.7406, allocations: 11.94 kB / 1.275 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.7407, allocations: 95.89 kB / 1.275 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.7408, allocations: 15.98 kB / 1.275 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.7408, allocations: 39.73 kB / 1.275 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.741, allocations: 141.2 kB / 1.275 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.7411, allocations: 4 kB / 1.275 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7411, allocations: 0 / 1.275 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.7411, allocations: 0 / 1.275 GB, free: 1.66 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.0008396/0.7419, allocations: 456.6 kB / 1.275 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.7419, allocations: 12.03 kB / 1.275 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.742, allocations: 38.73 kB / 1.275 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.742, allocations: 16.84 kB / 1.276 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.7422, allocations: 194.9 kB / 1.276 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.7422, allocations: 4.312 kB / 1.276 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.7423, allocations: 12.36 kB / 1.276 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.7426, allocations: 105.7 kB / 1.276 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.7426, allocations: 0 / 1.276 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.7426, allocations: 4 kB / 1.276 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.7426, allocations: 11.98 kB / 1.276 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.743, allocations: 83.86 kB / 1.276 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.7437, allocations: 348.7 kB / 1.276 GB, free: 252 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.744, allocations: 94.5 kB / 1.276 GB, free: 148 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.7441, allocations: 52.88 kB / 1.276 GB, free: 92 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.7442, allocations: 0 / 1.276 GB, free: 92 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003747/0.7445, allocations: 119.3 kB / 1.276 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.7445, allocations: 0 / 1.276 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006945/0.7452, allocations: 209.4 kB / 1.277 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.7453, allocations: 55.41 kB / 1.277 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.7454, allocations: 141.8 kB / 1.277 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.7454, allocations: 29.7 kB / 1.277 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.7455, allocations: 104.1 kB / 1.277 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.7456, allocations: 31.81 kB / 1.277 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.7456, allocations: 25.7 kB / 1.277 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7458, allocations: 326.8 kB / 1.277 GB, free: 15 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.746, allocations: 55.95 kB / 1.277 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.7462, allocations: 63.89 kB / 1.277 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.7465, allocations: 142.5 kB / 1.278 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7465, allocations: 0 / 1.278 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004868/0.747, allocations: 203.2 kB / 1.278 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.7471, allocations: 33.7 kB / 1.278 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.7471, allocations: 0 / 1.278 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.7471, allocations: 0 / 1.278 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.7472, allocations: 19.97 kB / 1.278 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.7472, allocations: 0 / 1.278 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.7474, allocations: 19.92 kB / 1.278 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.7474, allocations: 7.938 kB / 1.278 GB, free: 14.44 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.0001098/0.7475, allocations: 130.2 kB / 1.278 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.7476, allocations: 11.91 kB / 1.278 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.7476, allocations: 12.72 kB / 1.278 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.7476, allocations: 11.92 kB / 1.278 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7476, allocations: 0 / 1.278 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7476, allocations: 0 / 1.278 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.7478, allocations: 197.5 kB / 1.278 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.7478, allocations: 4 kB / 1.278 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.7479, allocations: 23.97 kB / 1.278 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.7479, allocations: 0 / 1.278 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.748, allocations: 4 kB / 1.278 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.748, allocations: 0 / 1.278 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.748, allocations: 0 / 1.278 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.7484, allocations: 180.9 kB / 1.278 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.7485, allocations: 93.02 kB / 1.279 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.7485, allocations: 7.984 kB / 1.279 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.7486, allocations: 11.98 kB / 1.279 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.7487, allocations: 19.92 kB / 1.279 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.7487, allocations: 0 / 1.279 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.13e-05/0.7488, allocations: 113.4 kB / 1.279 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7488, allocations: 0 / 1.279 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002601/0.749, allocations: 35.94 kB / 1.279 GB, free: 13.5 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.0008762/0.7499, allocations: 0.7339 MB / 1.279 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004925/0.7504, allocations: 183.2 kB / 1.28 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7504, allocations: 0 / 1.28 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.7506, allocations: 56.14 kB / 1.28 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.7508, allocations: 15.92 kB / 1.28 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.7534, allocations: 1.723 MB / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.7537, allocations: 0.7002 MB / 1.282 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.843e-05/0.7538, allocations: 11.98 kB / 1.282 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.7538, allocations: 31.42 kB / 1.282 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.7538, allocations: 0 / 1.282 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.7795, allocations: 2.756 MB / 1.285 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.68, allocations: 9.594 kB / 1.285 GB, free: 7.227 MB / 0.9825 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.512800380936824]