Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001447/0.001447, allocations: 107.8 kB / 16.46 MB, free: 6.504 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.001497/0.001497, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.365/1.365, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.958/2.958, allocations: 497.2 MB / 0.7811 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 73.39 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2845, allocations: 173.9 MB / 1.304 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002858/0.2874, allocations: 1.56 MB / 1.305 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.2884, allocations: 0.5765 MB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.2885, allocations: 4 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.722e-05/0.2886, allocations: 7.875 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.171e-05/0.2887, allocations: 23.84 kB / 1.306 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.289, allocations: 95.64 kB / 1.306 GB, free: 15.31 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.2892, allocations: 91.77 kB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.952e-05/0.2893, allocations: 16.22 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.2894, allocations: 47.77 kB / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.215e-05/0.2895, allocations: 43.83 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.2895, allocations: 8 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.2896, allocations: 95.78 kB / 1.306 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.734e-05/0.2897, allocations: 23.92 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.532e-05/0.2897, allocations: 43.72 kB / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.2899, allocations: 135.8 kB / 1.307 GB, free: 14.81 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2899, allocations: 0 / 1.307 GB, free: 14.81 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2899, allocations: 0 / 1.307 GB, free: 14.81 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.2899, allocations: 0 / 1.307 GB, free: 14.81 MB / 1.014 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.0008051/0.2907, allocations: 460.6 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2908, allocations: 12.92 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.2908, allocations: 34.75 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.2909, allocations: 16.83 kB / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.2911, allocations: 196.2 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.2911, allocations: 384 / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.2911, allocations: 4.375 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.2914, allocations: 109.7 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.2914, allocations: 0 / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2914, allocations: 4 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.2914, allocations: 4 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.2918, allocations: 91.84 kB / 1.308 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.2924, allocations: 340.7 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.2927, allocations: 98.44 kB / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.2929, allocations: 52.98 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.2929, allocations: 3.938 kB / 1.308 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003207/0.2932, allocations: 115.4 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.2932, allocations: 0 / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=9): time 0.000604/0.2938, allocations: 205.4 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.2939, allocations: 55.41 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.294, allocations: 144.8 kB / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.294, allocations: 33.7 kB / 1.309 GB, free: 12.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.2941, allocations: 100 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.2941, allocations: 35.67 kB / 1.309 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.2942, allocations: 25.7 kB / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2943, allocations: 322.8 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.2945, allocations: 59.95 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.2946, allocations: 59.95 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.295, allocations: 146.5 kB / 1.309 GB, free: 11.89 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.295, allocations: 0 / 1.309 GB, free: 11.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004439/0.2954, allocations: 203.2 kB / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.2955, allocations: 37.64 kB / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2955, allocations: 0 / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2955, allocations: 0 / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.2956, allocations: 23.91 kB / 1.309 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2956, allocations: 0 / 1.309 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.2958, allocations: 23.94 kB / 1.31 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.2958, allocations: 3.938 kB / 1.31 GB, free: 11.59 MB / 1.014 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.0001075/0.2959, allocations: 133.8 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.2959, allocations: 11.94 kB / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.296, allocations: 12.72 kB / 1.31 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.296, allocations: 4 kB / 1.31 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.296, allocations: 0 / 1.31 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.296, allocations: 0 / 1.31 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.2962, allocations: 193.5 kB / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2962, allocations: 0 / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.2963, allocations: 19.97 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2963, allocations: 4 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.2963, allocations: 8 kB / 1.31 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2963, allocations: 0 / 1.31 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2963, allocations: 0 / 1.31 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.2967, allocations: 184.8 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.2968, allocations: 93 kB / 1.31 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.2968, allocations: 4.172 kB / 1.31 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.2969, allocations: 19.97 kB / 1.31 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.297, allocations: 15.92 kB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.297, allocations: 0 / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.268e-05/0.2971, allocations: 116.9 kB / 1.31 GB, free: 10.69 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.2971, allocations: 0 / 1.31 GB, free: 10.69 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002378/0.2973, allocations: 32 kB / 1.31 GB, free: 10.66 MB / 1.014 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.0008172/0.2981, allocations: 0.7333 MB / 1.311 GB, free: 9.895 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004571/0.2986, allocations: 187.2 kB / 1.311 GB, free: 9.699 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2986, allocations: 0 / 1.311 GB, free: 9.699 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.2988, allocations: 63.88 kB / 1.311 GB, free: 9.637 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.299, allocations: 13.23 kB / 1.311 GB, free: 9.625 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.3014, allocations: 1.71 MB / 1.313 GB, free: 7.828 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.3018, allocations: 0.708 MB / 1.314 GB, free: 7.094 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.09e-05/0.3018, allocations: 11.98 kB / 1.314 GB, free: 7.082 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.3019, allocations: 31.42 kB / 1.314 GB, free: 7.051 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.3019, allocations: 3.938 kB / 1.314 GB, free: 7.047 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.327, allocations: 2.773 MB / 1.316 GB, free: 4.371 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.186, allocations: 15.39 kB / 1.316 GB, free: 4.363 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.272777809295803]