Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001694/0.001694, allocations: 110 kB / 18.93 MB, free: 2.945 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.001758/0.001758, allocations: 187.8 kB / 22.23 MB, free: 5.16 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.507/1.507, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 443.5 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 63.89 kB / 1.061 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9269/0.929, allocations: 160.8 MB / 1.218 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003313/0.9323, allocations: 1.565 MB / 1.22 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.9338, allocations: 0.5931 MB / 1.221 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.864e-05/0.9339, allocations: 4.906 kB / 1.221 GB, free: 2.051 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.9341, allocations: 3.938 kB / 1.221 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.768e-05/0.9341, allocations: 19.08 kB / 1.221 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.9347, allocations: 94.98 kB / 1.221 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.9349, allocations: 95.39 kB / 1.221 GB, free: 1.91 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.9351, allocations: 17.02 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.9352, allocations: 50.03 kB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.9353, allocations: 53.38 kB / 1.221 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.9354, allocations: 10.59 kB / 1.221 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.9356, allocations: 90.34 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/0.9356, allocations: 19.48 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.083e-05/0.9357, allocations: 36.89 kB / 1.221 GB, free: 1.73 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.936, allocations: 147.4 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.936, allocations: 5.125 kB / 1.221 GB, free: 1.629 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.823e-06/0.936, allocations: 0 / 1.221 GB, free: 1.629 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.936, allocations: 0 / 1.221 GB, free: 1.629 MB / 0.92 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.0009971/0.937, allocations: 449.5 kB / 1.222 GB, free: 1.184 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.9371, allocations: 9.406 kB / 1.222 GB, free: 1.184 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.9371, allocations: 17.11 kB / 1.222 GB, free: 1.172 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.9374, allocations: 188.7 kB / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.9374, allocations: 7.438 kB / 1.222 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.9374, allocations: 7.75 kB / 1.222 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.9378, allocations: 111.5 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.9378, allocations: 0 / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.9378, allocations: 1.094 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.9378, allocations: 7.422 kB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.9381, allocations: 86.38 kB / 1.222 GB, free: 0.832 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007394/0.9389, allocations: 360.8 kB / 1.222 GB, free: 488 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.9392, allocations: 85.02 kB / 1.222 GB, free: 436 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.9394, allocations: 58.19 kB / 1.222 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.9394, allocations: 0 / 1.222 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003617/0.9398, allocations: 117.4 kB / 1.223 GB, free: 312 kB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.9398, allocations: 0 / 1.223 GB, free: 312 kB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0007052/0.9405, allocations: 203.6 kB / 1.223 GB, free: 208 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.9405, allocations: 64.55 kB / 1.223 GB, free: 132 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.9407, allocations: 137.8 kB / 1.223 GB, free: 12 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.9407, allocations: 26.8 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.9408, allocations: 109 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.9409, allocations: 27.83 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.9409, allocations: 29.02 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.9411, allocations: 325.4 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.9414, allocations: 60.58 kB / 1.224 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.9416, allocations: 53.45 kB / 1.224 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.9419, allocations: 143.7 kB / 1.224 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9419, allocations: 112 / 1.224 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000532/0.9425, allocations: 212.1 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.9425, allocations: 31.77 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.9425, allocations: 0 / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.9426, allocations: 0.9375 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.9427, allocations: 24.09 kB / 1.224 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.9427, allocations: 1.031 kB / 1.224 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.9429, allocations: 17.55 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.9429, allocations: 3.062 kB / 1.224 GB, free: 15.18 MB / 0.9356 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.0001335/0.943, allocations: 135 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.943, allocations: 12.38 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.9431, allocations: 11.44 kB / 1.224 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.9431, allocations: 11.64 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9431, allocations: 0 / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.9431, allocations: 1.312 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.9433, allocations: 199 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.9433, allocations: 5.031 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.9435, allocations: 18.56 kB / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.9435, allocations: 1 kB / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.9435, allocations: 0.9375 kB / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.9435, allocations: 0.875 kB / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.9435, allocations: 0 / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.9439, allocations: 189.6 kB / 1.225 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.168e-05/0.944, allocations: 83.34 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.944, allocations: 6.062 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.9442, allocations: 16.31 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.9442, allocations: 16.39 kB / 1.225 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.9442, allocations: 6.172 kB / 1.225 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.263e-05/0.9443, allocations: 109.5 kB / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/0.9443, allocations: 1.188 kB / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002671/0.9446, allocations: 47.38 kB / 1.225 GB, free: 14.42 MB / 0.9356 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.0001876/0.9448, allocations: 119.1 kB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005056/0.9453, allocations: 183.3 kB / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9453, allocations: 0 / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.9455, allocations: 59.55 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.9457, allocations: 17 kB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006179/0.9463, allocations: 230.2 kB / 1.225 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.9467, allocations: 0.6992 MB / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.226e-05/0.9468, allocations: 19.53 kB / 1.226 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.9468, allocations: 19.95 kB / 1.226 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of SimCode: time 3.7e-07/0.9468, allocations: 0 / 1.226 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of Templates: time 0.004717/0.9516, allocations: 1.469 MB / 1.228 GB, free: 12.51 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.124604533426464]