Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00097/0.00097, 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.0008662/0.0008662, allocations: 170.3 kB / 22.45 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.9179/0.9179, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.796/1.796, allocations: 377.9 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.545e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003296/0.003322, allocations: 1.543 MB / 0.9824 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008218/0.004144, allocations: 0.6115 MB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.004213, allocations: 0 / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.004334, allocations: 15.86 kB / 0.983 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.004381, allocations: 19.81 kB / 0.9831 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.004871, allocations: 111.6 kB / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.005022, allocations: 107.6 kB / 0.9833 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.005137, allocations: 8.234 kB / 0.9833 GB, free: 176 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.005314, allocations: 59.88 kB / 0.9833 GB, free: 116 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.335e-05/0.005387, allocations: 43.88 kB / 0.9834 GB, free: 72 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.005406, allocations: 4 kB / 0.9834 GB, free: 68 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.005543, allocations: 99.86 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.005594, allocations: 19.92 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.005644, allocations: 27.83 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.005846, allocations: 171.5 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.005851, allocations: 0 / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.005852, allocations: 0 / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.005857, allocations: 0 / 0.9837 GB, free: 15.75 MB / 0.948 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.0005749/0.006432, allocations: 387.4 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.00647, allocations: 8.031 kB / 0.9841 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.0065, allocations: 42.69 kB / 0.9841 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.006674, allocations: 36.86 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.00688, allocations: 135.8 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.006892, allocations: 8.375 kB / 0.9843 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.006906, allocations: 8.375 kB / 0.9843 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.007116, allocations: 106.1 kB / 0.9844 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.007124, allocations: 192 / 0.9844 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.007135, allocations: 8.125 kB / 0.9844 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.007151, allocations: 7.938 kB / 0.9844 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.007319, allocations: 91.86 kB / 0.9845 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.007782, allocations: 303.8 kB / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.007961, allocations: 90.44 kB / 0.9849 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.051e-05/0.008051, allocations: 56.88 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.008067, allocations: 4 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.008268, allocations: 111.3 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.008269, allocations: 0 / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0006318/0.008901, allocations: 209.4 kB / 0.9852 GB, free: 14.03 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.008936, allocations: 55.47 kB / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.916e-05/0.009025, allocations: 147.8 kB / 0.9854 GB, free: 13.81 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.009041, allocations: 25.7 kB / 0.9854 GB, free: 13.78 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.009097, allocations: 104.1 kB / 0.9855 GB, free: 13.67 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.009115, allocations: 27.75 kB / 0.9856 GB, free: 13.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.009156, allocations: 25.7 kB / 0.9856 GB, free: 13.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.009239, allocations: 326.8 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.009359, allocations: 85.77 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.965e-05/0.009458, allocations: 93.58 kB / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.009821, allocations: 142.4 kB / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.009825, allocations: 0 / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003091/0.01013, allocations: 228.9 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.01017, allocations: 33.7 kB / 0.9865 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.01018, allocations: 4 kB / 0.9865 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.01019, allocations: 0 / 0.9865 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.01029, allocations: 23.91 kB / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.0103, allocations: 0 / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.593e-05/0.01037, allocations: 20.41 kB / 0.9865 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.01038, allocations: 0 / 0.9865 GB, free: 12.62 MB / 0.948 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.0001017/0.01048, allocations: 129.8 kB / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.0105, allocations: 15.89 kB / 0.9867 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.01053, allocations: 12.78 kB / 0.9867 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.01054, allocations: 4 kB / 0.9867 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.01055, allocations: 0 / 0.9867 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01055, allocations: 3.984 kB / 0.9867 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.01069, allocations: 168.6 kB / 0.9868 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-06/0.01069, allocations: 0 / 0.9868 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.224e-05/0.01075, allocations: 19.97 kB / 0.9869 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.01075, allocations: 0 / 0.9869 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.01076, allocations: 4 kB / 0.9869 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.01076, allocations: 0 / 0.9869 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01076, allocations: 0 / 0.9869 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.01102, allocations: 188.8 kB / 0.987 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.01104, allocations: 15.88 kB / 0.987 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.01106, allocations: 8 kB / 0.9871 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.01112, allocations: 15.97 kB / 0.9871 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.01117, allocations: 15.98 kB / 0.9871 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.01117, allocations: 7.984 kB / 0.9871 GB, free: 11.95 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.45e-05/0.01123, allocations: 107.2 kB / 0.9872 GB, free: 11.85 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01123, allocations: 0 / 0.9872 GB, free: 11.85 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000199/0.01143, allocations: 32 kB / 0.9872 GB, free: 11.82 MB / 0.948 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.0005453/0.01197, allocations: 0.7374 MB / 0.9879 GB, free: 11.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003063/0.01228, allocations: 213 kB / 0.9882 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01228, allocations: 0 / 0.9882 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.01239, allocations: 68.06 kB / 0.9882 GB, free: 10.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.01257, allocations: 15.86 kB / 0.9882 GB, free: 10.74 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.01412, allocations: 1.834 MB / 0.99 GB, free: 8.789 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.44e-05/0.01419, allocations: 93.38 kB / 0.9901 GB, free: 8.68 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.742e-05/0.01425, allocations: 11.98 kB / 0.9901 GB, free: 8.668 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.0143, allocations: 32.48 kB / 0.9902 GB, free: 8.637 MB / 0.948 GB Notification: Performance of SimCode: time 8.32e-07/0.0143, allocations: 0 / 0.9902 GB, free: 8.637 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01495/0.02925, allocations: 3.531 MB / 0.9936 GB, free: 5.262 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.523/6.552, allocations: 4.656 kB / 0.9936 GB, free: 5.262 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sigRan.y[3] in file Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv. Warning: Get data of variable sigRan.y[3] from file Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.833415105007589]