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.00081/0.00081, 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.0008559/0.0008559, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.9499/0.9499, allocations: 177.2 MB / 202.8 MB, free: 5.73 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.712/1.712, allocations: 377.8 MB / 0.6221 GB, free: 8.637 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.764e-06/1.764e-06, allocations: 0 / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.342e-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.001656/0.001669, allocations: 1.563 MB / 0.9824 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006745/0.002344, allocations: 0.6115 MB / 0.983 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.002396, allocations: 0 / 0.983 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 8.549e-05/0.002481, allocations: 11.81 kB / 0.983 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.016e-05/0.002521, allocations: 23.78 kB / 0.9831 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.002863, allocations: 107.7 kB / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.00298, allocations: 95.64 kB / 0.9833 GB, free: 184 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.003069, allocations: 16.2 kB / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.003204, allocations: 71.77 kB / 0.9833 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/0.003265, allocations: 39.88 kB / 0.9834 GB, free: 52 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.003281, allocations: 4 kB / 0.9834 GB, free: 48 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.003388, allocations: 91.98 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.677e-05/0.003424, allocations: 23.83 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.003461, allocations: 23.92 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.003632, allocations: 175.4 kB / 0.9837 GB, free: 15.74 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003634, allocations: 0 / 0.9837 GB, free: 15.74 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003634, allocations: 0 / 0.9837 GB, free: 15.74 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.003638, allocations: 0 / 0.9837 GB, free: 15.74 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.0004837/0.004122, allocations: 383.5 kB / 0.9841 GB, free: 15.33 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.004155, allocations: 12.03 kB / 0.9841 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.732e-05/0.004182, allocations: 34.73 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.004323, allocations: 28.88 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.004475, allocations: 144.2 kB / 0.9843 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.004485, allocations: 8.312 kB / 0.9843 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.004497, allocations: 4.375 kB / 0.9843 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.004683, allocations: 110.2 kB / 0.9844 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.004689, allocations: 192 / 0.9844 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.004701, allocations: 8.125 kB / 0.9844 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.004716, allocations: 11.92 kB / 0.9844 GB, free: 14.94 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.004879, allocations: 83.92 kB / 0.9845 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.005274, allocations: 319.6 kB / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.005435, allocations: 82.52 kB / 0.9849 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.46e-05/0.005519, allocations: 52.88 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.005533, allocations: 7.984 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.0057, allocations: 115.3 kB / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.005701, allocations: 0 / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.000353/0.006054, allocations: 209.6 kB / 0.9852 GB, free: 14.01 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.006082, allocations: 55.34 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.872e-05/0.00616, allocations: 144.1 kB / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.006174, allocations: 29.7 kB / 0.9854 GB, free: 13.76 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.006218, allocations: 100.1 kB / 0.9855 GB, free: 13.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.006236, allocations: 31.73 kB / 0.9856 GB, free: 13.63 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.006274, allocations: 25.7 kB / 0.9856 GB, free: 13.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.826e-05/0.006342, allocations: 330.8 kB / 0.9859 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.006449, allocations: 81.66 kB / 0.986 GB, free: 13.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-05/0.00654, allocations: 81.66 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.006718, allocations: 146.5 kB / 0.9862 GB, free: 12.94 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.00672, allocations: 0 / 0.9862 GB, free: 12.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002406/0.00696, allocations: 232.9 kB / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.006981, allocations: 33.7 kB / 0.9865 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006987, allocations: 0 / 0.9865 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.006996, allocations: 0 / 0.9865 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/0.007066, allocations: 23.97 kB / 0.9865 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.00707, allocations: 0 / 0.9865 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.172e-05/0.007131, allocations: 24.41 kB / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.007142, allocations: 7.969 kB / 0.9865 GB, free: 12.6 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 5.985e-05/0.007202, allocations: 121.8 kB / 0.9866 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-06/0.007212, allocations: 11.89 kB / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.007232, allocations: 20.7 kB / 0.9867 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.00724, allocations: 4 kB / 0.9867 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.007243, allocations: 0 / 0.9867 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.007245, allocations: 4 kB / 0.9867 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.278e-05/0.007338, allocations: 168.6 kB / 0.9868 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.007339, allocations: 0 / 0.9868 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.007383, allocations: 15.98 kB / 0.9868 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.007384, allocations: 0 / 0.9868 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.007393, allocations: 4 kB / 0.9869 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.007394, allocations: 3.984 kB / 0.9869 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.007395, allocations: 0 / 0.9869 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.007679, allocations: 192.8 kB / 0.987 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.00769, allocations: 7.953 kB / 0.987 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.007704, allocations: 4 kB / 0.9871 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.865e-05/0.007753, allocations: 11.98 kB / 0.9871 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.007793, allocations: 15.97 kB / 0.9871 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.007802, allocations: 7.984 kB / 0.9871 GB, free: 11.95 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.446e-05/0.007847, allocations: 112.9 kB / 0.9872 GB, free: 11.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007847, allocations: 0 / 0.9872 GB, free: 11.84 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001547/0.008001, allocations: 39.94 kB / 0.9872 GB, free: 11.8 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.0004135/0.008415, allocations: 0.7334 MB / 0.9879 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.008667, allocations: 209.2 kB / 0.9881 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.008669, allocations: 3.938 kB / 0.9882 GB, free: 10.81 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.503e-05/0.008764, allocations: 64.12 kB / 0.9882 GB, free: 10.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.008902, allocations: 23.84 kB / 0.9882 GB, free: 10.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.01024, allocations: 1.834 MB / 0.99 GB, free: 8.773 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.513e-05/0.01028, allocations: 85.44 kB / 0.9901 GB, free: 8.672 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.629e-05/0.01033, allocations: 15.98 kB / 0.9901 GB, free: 8.656 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.01038, allocations: 32.48 kB / 0.9902 GB, free: 8.625 MB / 0.948 GB Notification: Performance of SimCode: time 3.41e-07/0.01038, allocations: 0 / 0.9902 GB, free: 8.625 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.02442, allocations: 3.529 MB / 0.9936 GB, free: 5.254 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.614/6.639, allocations: 2.031 kB / 0.9936 GB, free: 5.254 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.686708153225482]