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.0008909/0.0008909, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001029/0.001029, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9433/0.9433, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.701/1.701, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.9504 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.705e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001816/0.001833, allocations: 1.552 MB / 0.952 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007928/0.002626, allocations: 0.612 MB / 0.9526 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.722e-05/0.002693, allocations: 4 kB / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.002797, allocations: 7.875 kB / 0.9526 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.98e-05/0.002837, allocations: 23.78 kB / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.003238, allocations: 107.6 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.003363, allocations: 99.64 kB / 0.9528 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.003461, allocations: 20.2 kB / 0.9528 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.003602, allocations: 59.83 kB / 0.9529 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.003667, allocations: 39.88 kB / 0.9529 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.003686, allocations: 8 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.003791, allocations: 91.84 kB / 0.953 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.003837, allocations: 27.91 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.003881, allocations: 27.92 kB / 0.9531 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.00408, allocations: 163.5 kB / 0.9532 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.004082, allocations: 0 / 0.9532 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.202e-06/0.004083, allocations: 0 / 0.9532 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.004088, allocations: 0 / 0.9532 GB, free: 0.6836 MB / 0.9011 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.0005381/0.004626, allocations: 391.3 kB / 0.9536 GB, free: 272 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.004661, allocations: 8.031 kB / 0.9536 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.822e-05/0.004689, allocations: 46.73 kB / 0.9536 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.004838, allocations: 32.81 kB / 0.9537 GB, free: 176 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.005009, allocations: 139.7 kB / 0.9538 GB, free: 12 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.005025, allocations: 8.375 kB / 0.9538 GB, free: 4 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.005037, allocations: 384 / 0.9538 GB, free: 4 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.005245, allocations: 106.2 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.005253, allocations: 8.062 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.005263, allocations: 4.125 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.005281, allocations: 11.98 kB / 0.9539 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.005447, allocations: 83.92 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.005867, allocations: 299.8 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.006038, allocations: 94.45 kB / 0.9544 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.06e-05/0.006128, allocations: 56.88 kB / 0.9545 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.006142, allocations: 0 / 0.9545 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.006325, allocations: 115.3 kB / 0.9546 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.006326, allocations: 0 / 0.9546 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0003713/0.006697, allocations: 209.5 kB / 0.9548 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.006729, allocations: 55.41 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.124e-05/0.00681, allocations: 144.2 kB / 0.955 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.006824, allocations: 29.7 kB / 0.955 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.006872, allocations: 100.1 kB / 0.9551 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.006891, allocations: 31.73 kB / 0.9551 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.006929, allocations: 25.7 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.508e-05/0.007014, allocations: 326.8 kB / 0.9554 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.007125, allocations: 85.66 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.695e-05/0.007222, allocations: 93.88 kB / 0.9556 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.007401, allocations: 142.6 kB / 0.9557 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.007403, allocations: 3.938 kB / 0.9558 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00025/0.007653, allocations: 233 kB / 0.956 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.007676, allocations: 29.7 kB / 0.956 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.007682, allocations: 3.984 kB / 0.956 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.007694, allocations: 0 / 0.956 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.007769, allocations: 19.92 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.007773, allocations: 4 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.981e-05/0.007833, allocations: 15.94 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.007844, allocations: 11.98 kB / 0.9561 GB, free: 13.54 MB / 0.9167 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 6.735e-05/0.007911, allocations: 129.8 kB / 0.9562 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.007929, allocations: 11.94 kB / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.007952, allocations: 12.77 kB / 0.9562 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.007961, allocations: 4 kB / 0.9562 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.007964, allocations: 0 / 0.9562 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.007967, allocations: 0 / 0.9562 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.008071, allocations: 164.7 kB / 0.9564 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.008072, allocations: 0 / 0.9564 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.008118, allocations: 19.98 kB / 0.9564 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008119, allocations: 0 / 0.9564 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.008136, allocations: 7.984 kB / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.008138, allocations: 0 / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.008138, allocations: 0 / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.008362, allocations: 188.8 kB / 0.9566 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.008376, allocations: 11.89 kB / 0.9566 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.008391, allocations: 0 / 0.9566 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.885e-05/0.00844, allocations: 19.98 kB / 0.9566 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.008482, allocations: 15.97 kB / 0.9566 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.008488, allocations: 0 / 0.9566 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.767e-05/0.008536, allocations: 117.2 kB / 0.9567 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.008536, allocations: 3.938 kB / 0.9567 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001601/0.008696, allocations: 39.98 kB / 0.9568 GB, free: 12.73 MB / 0.9167 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.0005258/0.009222, allocations: 0.7334 MB / 0.9575 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002605/0.009483, allocations: 209 kB / 0.9577 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.009484, allocations: 0 / 0.9577 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.814e-05/0.009582, allocations: 64.11 kB / 0.9577 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.009736, allocations: 30.78 kB / 0.9578 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.01115, allocations: 1.83 MB / 0.9596 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.028e-05/0.0112, allocations: 89.44 kB / 0.9596 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.922e-05/0.01125, allocations: 11.98 kB / 0.9597 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.0113, allocations: 28.48 kB / 0.9597 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.0113, allocations: 0 / 0.9597 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.02632, allocations: 3.538 MB / 0.9631 GB, free: 6.172 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.518/6.545, allocations: 7.312 kB / 0.9631 GB, free: 6.168 MB / 0.9167 GB " [Timeout remaining time 293] (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/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: 10.615480264648795]