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.001294/0.001294, allocations: 106.5 kB / 17.6 MB, free: 4.703 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.00134/0.00134, allocations: 190.7 kB / 20.78 MB, free: 1.543 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.497/1.497, allocations: 225.6 MB / 249.4 MB, free: 3.125 MB / 190.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.815/2.815, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 67.89 kB / 1.107 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246/1.248, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003161/1.251, allocations: 1.576 MB / 1.273 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0012/1.252, allocations: 0.5834 MB / 1.274 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/1.252, allocations: 5.531 kB / 1.274 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/1.252, allocations: 11.08 kB / 1.274 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.423e-05/1.252, allocations: 14.47 kB / 1.274 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/1.253, allocations: 92.06 kB / 1.274 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/1.253, allocations: 100.1 kB / 1.274 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/1.253, allocations: 15.73 kB / 1.274 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/1.253, allocations: 46.38 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/1.253, allocations: 52.8 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/1.253, allocations: 7.469 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/1.254, allocations: 82.95 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/1.254, allocations: 25.31 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.047e-05/1.254, allocations: 38.36 kB / 1.275 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/1.254, allocations: 141.3 kB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.254, allocations: 1.062 kB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.415e-06/1.254, allocations: 4 kB / 1.275 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.815e-06/1.254, allocations: 5.672 kB / 1.275 GB, free: 6.137 MB / 0.9981 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.000806/1.255, allocations: 448.8 kB / 1.275 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.255, allocations: 9.094 kB / 1.275 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/1.255, allocations: 14.16 kB / 1.275 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/1.255, allocations: 194.8 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/1.255, allocations: 3.219 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/1.255, allocations: 7.75 kB / 1.275 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/1.255, allocations: 110.8 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/1.255, allocations: 0 / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/1.255, allocations: 0.5938 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/1.255, allocations: 4.812 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003563/1.256, allocations: 87.2 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/1.256, allocations: 356.4 kB / 1.276 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/1.257, allocations: 86.28 kB / 1.276 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/1.257, allocations: 57.67 kB / 1.276 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/1.257, allocations: 5.172 kB / 1.276 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003456/1.257, allocations: 118.3 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/1.257, allocations: 0 / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0006526/1.258, allocations: 208.9 kB / 1.276 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/1.258, allocations: 53 kB / 1.276 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/1.258, allocations: 141.8 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/1.258, allocations: 30.39 kB / 1.277 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/1.258, allocations: 100.8 kB / 1.277 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/1.258, allocations: 33.22 kB / 1.277 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/1.258, allocations: 24.62 kB / 1.277 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.473e-05/1.258, allocations: 333.8 kB / 1.277 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/1.258, allocations: 54.47 kB / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/1.259, allocations: 55.72 kB / 1.277 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/1.259, allocations: 148.4 kB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.259, allocations: 3.938 kB / 1.277 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004434/1.259, allocations: 202.9 kB / 1.277 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/1.259, allocations: 32.64 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.259, allocations: 0 / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/1.259, allocations: 1.5 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/1.26, allocations: 20.48 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.26, allocations: 4.75 kB / 1.277 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/1.26, allocations: 17.02 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/1.26, allocations: 6.984 kB / 1.277 GB, free: 4 MB / 0.9981 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 8.836e-05/1.26, allocations: 127.2 kB / 1.278 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/1.26, allocations: 9.109 kB / 1.278 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/1.26, allocations: 11.56 kB / 1.278 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/1.26, allocations: 4.016 kB / 1.278 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.26, allocations: 1.281 kB / 1.278 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/1.26, allocations: 5.828 kB / 1.278 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/1.26, allocations: 206.2 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.26, allocations: 0.6562 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/1.26, allocations: 16.78 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.26, allocations: 0 / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/1.26, allocations: 1.656 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.26, allocations: 0 / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.26, allocations: 1.438 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/1.261, allocations: 186.8 kB / 1.278 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/1.261, allocations: 88.17 kB / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/1.261, allocations: 4.75 kB / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/1.261, allocations: 14 kB / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.699e-05/1.261, allocations: 17.8 kB / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/1.261, allocations: 4.312 kB / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.463e-05/1.261, allocations: 110.3 kB / 1.278 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.261, allocations: 0 / 1.278 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003095/1.261, allocations: 39.84 kB / 1.278 GB, free: 3.332 MB / 0.9981 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.0001829/1.261, allocations: 115.8 kB / 1.278 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004915/1.262, allocations: 184.7 kB / 1.279 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.262, allocations: 4 kB / 1.279 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/1.262, allocations: 64.92 kB / 1.279 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/1.262, allocations: 6.625 kB / 1.279 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005584/1.263, allocations: 245.3 kB / 1.279 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/1.263, allocations: 0.6992 MB / 1.28 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.987e-05/1.263, allocations: 12.47 kB / 1.28 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/1.263, allocations: 12.86 kB / 1.28 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.263, allocations: 0.8438 kB / 1.28 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of Templates: time 0.00518/1.268, allocations: 1.453 MB / 1.281 GB, free: 2.125 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.452811431139708]