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.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.001934/0.001934, allocations: 108.2 kB / 16.45 MB, free: 6.488 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.002247/0.002247, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.419/1.419, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.741/2.741, allocations: 476.7 MB / 0.7672 GB, free: 5.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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: 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.001938/0.001938, allocations: 71.91 kB / 1.112 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7484/0.7504, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003065/0.7534, allocations: 1.577 MB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.7547, allocations: 0.6444 MB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.7548, allocations: 7.938 kB / 1.28 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.755, allocations: 7.875 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.186e-05/0.755, allocations: 19.84 kB / 1.28 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.7556, allocations: 103.7 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.7558, allocations: 99.64 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.7559, allocations: 24.16 kB / 1.281 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.7561, allocations: 59.77 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.7562, allocations: 43.83 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.7563, allocations: 4 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.7564, allocations: 99.84 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.865e-05/0.7565, allocations: 23.91 kB / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.336e-05/0.7566, allocations: 39.73 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.7569, allocations: 149.3 kB / 1.281 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7569, allocations: 0 / 1.281 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.193e-06/0.7569, allocations: 4 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.7569, allocations: 4 kB / 1.281 GB, free: 10.5 MB / 0.9825 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.0008654/0.7578, allocations: 460.6 kB / 1.282 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.7578, allocations: 8.031 kB / 1.282 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/0.7578, allocations: 34.75 kB / 1.282 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.7581, allocations: 32.86 kB / 1.282 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.7584, allocations: 204.1 kB / 1.282 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.7584, allocations: 384 / 1.282 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.7584, allocations: 4.375 kB / 1.282 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.7588, allocations: 109.5 kB / 1.282 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.7588, allocations: 0 / 1.282 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.7588, allocations: 3.938 kB / 1.282 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.7588, allocations: 8 kB / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000366/0.7592, allocations: 95.84 kB / 1.282 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007428/0.7599, allocations: 348.6 kB / 1.282 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.7603, allocations: 90.5 kB / 1.282 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.7605, allocations: 56.88 kB / 1.282 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.7605, allocations: 4 kB / 1.282 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003244/0.7608, allocations: 115.3 kB / 1.283 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.7608, allocations: 0 / 1.283 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0007175/0.7615, allocations: 217.7 kB / 1.283 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.7616, allocations: 55.34 kB / 1.283 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.7617, allocations: 144.6 kB / 1.283 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.7617, allocations: 29.7 kB / 1.283 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.7618, allocations: 104.2 kB / 1.283 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.7619, allocations: 31.77 kB / 1.283 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.7619, allocations: 21.72 kB / 1.283 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.7621, allocations: 322.8 kB / 1.283 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.7623, allocations: 55.95 kB / 1.284 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.7625, allocations: 59.94 kB / 1.284 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.7628, allocations: 142.4 kB / 1.284 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7628, allocations: 0 / 1.284 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005197/0.7634, allocations: 207.2 kB / 1.284 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.7634, allocations: 33.69 kB / 1.284 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7634, allocations: 0 / 1.284 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.7634, allocations: 4 kB / 1.284 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.7636, allocations: 15.98 kB / 1.284 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.7636, allocations: 7.938 kB / 1.284 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.7637, allocations: 15.97 kB / 1.284 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.7637, allocations: 4 kB / 1.284 GB, free: 7.258 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.0001126/0.7639, allocations: 125.8 kB / 1.284 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.7639, allocations: 11.95 kB / 1.284 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.7639, allocations: 16.7 kB / 1.284 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.7639, allocations: 4 kB / 1.284 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.764, allocations: 3.938 kB / 1.284 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.764, allocations: 0 / 1.284 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.7642, allocations: 209.5 kB / 1.284 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.7642, allocations: 0 / 1.284 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.7643, allocations: 15.98 kB / 1.284 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.7643, allocations: 3.984 kB / 1.284 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.7643, allocations: 0 / 1.284 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7643, allocations: 0 / 1.284 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.7643, allocations: 11.92 kB / 1.284 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.7648, allocations: 185 kB / 1.285 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.7648, allocations: 81.06 kB / 1.285 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.7649, allocations: 8 kB / 1.285 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.765, allocations: 23.97 kB / 1.285 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.7651, allocations: 11.92 kB / 1.285 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.7651, allocations: 8 kB / 1.285 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.388e-05/0.7652, allocations: 107.2 kB / 1.285 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7652, allocations: 0 / 1.285 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002594/0.7654, allocations: 43.83 kB / 1.285 GB, free: 6.297 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.0008886/0.7663, allocations: 0.7339 MB / 1.286 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005039/0.7668, allocations: 183.2 kB / 1.286 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7668, allocations: 4 kB / 1.286 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.767, allocations: 55.95 kB / 1.286 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.7672, allocations: 14.22 kB / 1.286 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.7698, allocations: 1.721 MB / 1.287 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.7702, allocations: 0.7002 MB / 1.288 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.081e-05/0.7702, allocations: 11.98 kB / 1.288 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.7703, allocations: 35.42 kB / 1.288 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.7703, allocations: 0 / 1.288 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.7977, allocations: 2.831 MB / 1.291 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.766, allocations: 13.48 kB / 1.291 GB, free: 15.94 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv. Warning: Get data of variable sigRan.y[3] from file Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.691013521049172]