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.0009357/0.0009357, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001069/0.001069, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9126/0.9126, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.782/1.782, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.053e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001913/0.001934, allocations: 1.545 MB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008464/0.00278, allocations: 0.6084 MB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.002848, allocations: 0 / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.875e-05/0.002947, allocations: 11.81 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.901e-05/0.002996, allocations: 31.78 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.003447, allocations: 111.6 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.00359, allocations: 99.62 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.003689, allocations: 12.22 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.003854, allocations: 63.88 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.003918, allocations: 39.83 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.003937, allocations: 4 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.004063, allocations: 99.84 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.004106, allocations: 23.91 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.00415, allocations: 23.92 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.004356, allocations: 167.6 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004358, allocations: 0 / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.864e-06/0.00436, allocations: 0 / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.004365, allocations: 0 / 1.002 GB, free: 10.69 MB / 0.9636 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.0005408/0.004905, allocations: 387.3 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.004942, allocations: 8.75 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.004972, allocations: 42.73 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.005136, allocations: 36.86 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.005339, allocations: 135.8 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.00535, allocations: 4.375 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.005363, allocations: 4.375 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.005572, allocations: 102.2 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.005579, allocations: 192 / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.005593, allocations: 12.06 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.005612, allocations: 7.984 kB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.005781, allocations: 87.92 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.006243, allocations: 303.8 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.006423, allocations: 90.45 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.121e-05/0.006514, allocations: 52.88 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.006529, allocations: 4 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.006718, allocations: 115.4 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.006719, allocations: 0 / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0003975/0.007117, allocations: 217.4 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.007158, allocations: 51.41 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.007325, allocations: 153.8 kB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.007342, allocations: 29.64 kB / 1.004 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.007394, allocations: 96.09 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.007412, allocations: 27.78 kB / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.007457, allocations: 29.7 kB / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.007537, allocations: 326.8 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.007659, allocations: 85.66 kB / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.007761, allocations: 85.66 kB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.007956, allocations: 146.4 kB / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.007958, allocations: 0 / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002919/0.00825, allocations: 236.9 kB / 1.005 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.008287, allocations: 35.42 kB / 1.005 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.008295, allocations: 3.984 kB / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.00831, allocations: 0 / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.008398, allocations: 19.92 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.008404, allocations: 0 / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.178e-05/0.008476, allocations: 19.98 kB / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.008489, allocations: 11.92 kB / 1.005 GB, free: 7.543 MB / 0.9636 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 7.556e-05/0.008564, allocations: 121.8 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.008577, allocations: 7.953 kB / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.008603, allocations: 20.77 kB / 1.005 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.008617, allocations: 7.984 kB / 1.005 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.008625, allocations: 0 / 1.005 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.00863, allocations: 0 / 1.005 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.008747, allocations: 168.6 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008749, allocations: 0 / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.087e-05/0.0088, allocations: 15.98 kB / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.008802, allocations: 4 kB / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.008811, allocations: 3.984 kB / 1.006 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008812, allocations: 480 / 1.006 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008813, allocations: 0 / 1.006 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.009074, allocations: 192.8 kB / 1.006 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.009089, allocations: 11.89 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.009105, allocations: 0 / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.625e-05/0.009161, allocations: 19.98 kB / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.009209, allocations: 11.97 kB / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.009218, allocations: 4 kB / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.29e-05/0.009271, allocations: 117.6 kB / 1.006 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009271, allocations: 0 / 1.006 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001859/0.009457, allocations: 35.95 kB / 1.006 GB, free: 6.742 MB / 0.9636 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.0005182/0.009975, allocations: 0.7372 MB / 1.007 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.01029, allocations: 208.9 kB / 1.007 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01029, allocations: 0 / 1.007 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.0104, allocations: 63.88 kB / 1.007 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.01058, allocations: 15.98 kB / 1.007 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.01214, allocations: 1.829 MB / 1.009 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.535e-05/0.0122, allocations: 93.44 kB / 1.009 GB, free: 3.613 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.599e-05/0.01225, allocations: 11.98 kB / 1.009 GB, free: 3.602 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.01231, allocations: 32.48 kB / 1.009 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of SimCode: time 7.41e-07/0.01231, allocations: 0 / 1.009 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.03054, allocations: 3.542 MB / 1.012 GB, free: 180 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.639/6.669, allocations: 3.938 kB / 1.012 GB, free: 176 kB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sigRan.y[3] in file Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv. Warning: Get data of variable sigRan.y[3] from file Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.883370877243578]