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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 195.4 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.168/1.168, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.378/2.378, allocations: 461.8 MB / 0.7342 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 62.56 kB / 0.8985 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2307, allocations: 157.4 MB / 1.052 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002592/0.2333, allocations: 1.614 MB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009389/0.2342, allocations: 0.5921 MB / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.2343, allocations: 4 kB / 1.054 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.2344, allocations: 7.922 kB / 1.054 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.893e-05/0.2345, allocations: 11.88 kB / 1.054 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.2348, allocations: 71.86 kB / 1.054 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.2349, allocations: 91.7 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.494e-05/0.235, allocations: 24.2 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.2352, allocations: 43.78 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.969e-05/0.2352, allocations: 51.81 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.2353, allocations: 4 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.2354, allocations: 59.89 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.2354, allocations: 15.92 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.2355, allocations: 39.8 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.2357, allocations: 131.8 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2357, allocations: 0 / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.71e-07/0.2357, allocations: 0 / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2357, allocations: 0 / 1.055 GB, free: 5.488 MB / 0.8106 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.000711/0.2364, allocations: 456.8 kB / 1.055 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2365, allocations: 11.97 kB / 1.055 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.2365, allocations: 38.75 kB / 1.055 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.2366, allocations: 12.75 kB / 1.055 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.2367, allocations: 196.1 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.2368, allocations: 8.375 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.2368, allocations: 8.375 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.2371, allocations: 113.7 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2371, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2371, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.2371, allocations: 4 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.2374, allocations: 91.86 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005776/0.238, allocations: 352.6 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.2383, allocations: 90.5 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.2385, allocations: 60.89 kB / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.2385, allocations: 3.938 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002897/0.2388, allocations: 111.3 kB / 1.056 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.2388, allocations: 0 / 1.056 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005906/0.2394, allocations: 209.4 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.2395, allocations: 51.41 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.2396, allocations: 136.2 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.2396, allocations: 33.7 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.2397, allocations: 104 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.2397, allocations: 27.77 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.2398, allocations: 25.7 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.2399, allocations: 326.8 kB / 1.057 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.24, allocations: 59.94 kB / 1.057 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.2402, allocations: 55.95 kB / 1.057 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.2405, allocations: 146.5 kB / 1.057 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2406, allocations: 3.984 kB / 1.057 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004084/0.241, allocations: 199.1 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.241, allocations: 33.69 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.241, allocations: 480 / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.241, allocations: 0 / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.2412, allocations: 15.98 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2412, allocations: 11.94 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.2413, allocations: 19.91 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.2413, allocations: 11.88 kB / 1.058 GB, free: 2.262 MB / 0.8106 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 9.57e-05/0.2414, allocations: 117.8 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.2415, allocations: 7.906 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.2415, allocations: 16.7 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.2415, allocations: 4 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2415, allocations: 0 / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2415, allocations: 4 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.2417, allocations: 205.4 kB / 1.058 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2417, allocations: 0 / 1.058 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.2418, allocations: 15.98 kB / 1.058 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2418, allocations: 0 / 1.058 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.2419, allocations: 7.984 kB / 1.058 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2419, allocations: 0 / 1.058 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2419, allocations: 3.938 kB / 1.058 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.2423, allocations: 184.8 kB / 1.058 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.2424, allocations: 89.02 kB / 1.058 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.2424, allocations: 0 / 1.058 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.2425, allocations: 15.98 kB / 1.058 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.2426, allocations: 15.97 kB / 1.058 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.2426, allocations: 0 / 1.058 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.339e-05/0.2427, allocations: 112.8 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2427, allocations: 0 / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002278/0.2429, allocations: 39.98 kB / 1.059 GB, free: 1.344 MB / 0.8106 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.0006862/0.2436, allocations: 0.7372 MB / 1.059 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004059/0.244, allocations: 191.2 kB / 1.059 GB, free: 388 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.244, allocations: 0 / 1.059 GB, free: 388 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.2442, allocations: 59.95 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.2444, allocations: 15.94 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.2465, allocations: 1.721 MB / 1.061 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.2467, allocations: 0.6965 MB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.232e-05/0.2468, allocations: 19.97 kB / 1.062 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.2468, allocations: 27.42 kB / 1.062 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.2468, allocations: 0 / 1.062 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6815/0.9283, allocations: 2.485 MB / 1.064 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.9286, allocations: 212.2 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.563, allocations: 0 / 1.065 GB, free: 11.09 MB / 0.8262 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches