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.001628/0.001628, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.002024/0.002024, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.387/1.387, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.699/2.699, allocations: 476.7 MB / 0.7611 GB, free: 11.43 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.001949/0.001949, allocations: 63.91 kB / 1.104 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7729/0.7748, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002762/0.7776, allocations: 1.561 MB / 1.27 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.7786, allocations: 0.5858 MB / 1.271 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.7787, allocations: 3.938 kB / 1.271 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.7788, allocations: 7.922 kB / 1.271 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.597e-05/0.7789, allocations: 19.8 kB / 1.271 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.7792, allocations: 87.75 kB / 1.271 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.7794, allocations: 103.6 kB / 1.271 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.7795, allocations: 16.23 kB / 1.271 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.7796, allocations: 43.83 kB / 1.271 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.7797, allocations: 47.83 kB / 1.271 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.7798, allocations: 4 kB / 1.271 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.7799, allocations: 87.91 kB / 1.271 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.7799, allocations: 31.83 kB / 1.271 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.834e-05/0.78, allocations: 39.73 kB / 1.271 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.7802, allocations: 137.3 kB / 1.271 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.7802, allocations: 8 kB / 1.271 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7802, allocations: 0 / 1.271 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.7802, allocations: 0 / 1.271 GB, free: 2.391 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.0007811/0.781, allocations: 450.7 kB / 1.272 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.7811, allocations: 8.031 kB / 1.272 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.7811, allocations: 42.73 kB / 1.272 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.7811, allocations: 12.84 kB / 1.272 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.7813, allocations: 204.1 kB / 1.272 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-06/0.7814, allocations: 4.375 kB / 1.272 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.7814, allocations: 8.375 kB / 1.272 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.7817, allocations: 101.8 kB / 1.272 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.7817, allocations: 3.984 kB / 1.272 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7817, allocations: 3.938 kB / 1.272 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.7817, allocations: 8 kB / 1.272 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.782, allocations: 87.86 kB / 1.272 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/0.7827, allocations: 348.7 kB / 1.273 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.783, allocations: 82.52 kB / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.7831, allocations: 56.88 kB / 1.273 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.7832, allocations: 4 kB / 1.273 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003367/0.7835, allocations: 111.3 kB / 1.273 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.7835, allocations: 3.938 kB / 1.273 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0006416/0.7841, allocations: 217.4 kB / 1.273 GB, free: 496 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.7842, allocations: 51.41 kB / 1.273 GB, free: 432 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.7843, allocations: 139.7 kB / 1.273 GB, free: 284 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.7843, allocations: 29.7 kB / 1.273 GB, free: 248 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/0.7844, allocations: 100.1 kB / 1.273 GB, free: 144 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.7844, allocations: 31.73 kB / 1.273 GB, free: 112 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.7845, allocations: 25.78 kB / 1.273 GB, free: 80 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7846, allocations: 330.8 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.7848, allocations: 55.95 kB / 1.274 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.785, allocations: 59.94 kB / 1.274 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.7853, allocations: 146.5 kB / 1.274 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7853, allocations: 0 / 1.274 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000447/0.7858, allocations: 199.3 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.7858, allocations: 37.69 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.7858, allocations: 4 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.7858, allocations: 0 / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.786, allocations: 15.98 kB / 1.274 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.786, allocations: 8 kB / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.7861, allocations: 15.92 kB / 1.274 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.7861, allocations: 15.92 kB / 1.274 GB, free: 15.17 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 9.941e-05/0.7862, allocations: 120.4 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.7863, allocations: 11.91 kB / 1.274 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.7863, allocations: 16.7 kB / 1.274 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.7863, allocations: 4 kB / 1.274 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7863, allocations: 0 / 1.274 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.7863, allocations: 4 kB / 1.274 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.7865, allocations: 201.5 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7865, allocations: 0 / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.7866, allocations: 16.44 kB / 1.275 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7866, allocations: 4 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.7866, allocations: 3.984 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.7866, allocations: 3.984 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.7866, allocations: 0 / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.7871, allocations: 184.8 kB / 1.275 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.7871, allocations: 93 kB / 1.275 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.7871, allocations: 4 kB / 1.275 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.7873, allocations: 11.98 kB / 1.275 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.7873, allocations: 15.98 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.7873, allocations: 3.984 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.644e-05/0.7874, allocations: 112.9 kB / 1.275 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7874, allocations: 0 / 1.275 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002335/0.7877, allocations: 39.88 kB / 1.275 GB, free: 14.23 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.0007725/0.7884, allocations: 0.7339 MB / 1.276 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000451/0.7889, allocations: 179.2 kB / 1.276 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.7889, allocations: 0 / 1.276 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.7891, allocations: 60.17 kB / 1.276 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.7893, allocations: 18.48 kB / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.7916, allocations: 1.727 MB / 1.278 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.7919, allocations: 0.7027 MB / 1.278 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.079e-05/0.792, allocations: 15.92 kB / 1.278 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.792, allocations: 27.42 kB / 1.278 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.792, allocations: 0 / 1.278 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.8173, allocations: 2.774 MB / 1.281 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/9.105, allocations: 3.938 kB / 1.281 GB, free: 7.945 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.839601444080472]