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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001237/0.001237, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001218/0.001218, allocations: 189.3 kB / 16.25 MB, free: 6.625 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.257/1.257, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.475/2.475, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 67.38 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2454, allocations: 157.4 MB / 1.052 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.0024/0.2479, allocations: 1.622 MB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000799/0.2487, allocations: 0.5881 MB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.2488, allocations: 0 / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.66e-05/0.2488, allocations: 7.938 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.711e-05/0.2489, allocations: 15.86 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.2492, allocations: 79.86 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.2494, allocations: 99.64 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.654e-05/0.2495, allocations: 20.2 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.2496, allocations: 39.91 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.327e-05/0.2497, allocations: 51.77 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.2497, allocations: 8 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.165e-05/0.2498, allocations: 63.89 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.2498, allocations: 23.91 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.2499, allocations: 35.8 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.2501, allocations: 139.8 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2501, allocations: 0 / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2501, allocations: 0 / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2501, allocations: 0 / 1.055 GB, free: 5.828 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.0007218/0.2508, allocations: 456.8 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.2509, allocations: 12.61 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.2509, allocations: 30.75 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.2509, allocations: 16.75 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.2511, allocations: 193.9 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.2511, allocations: 4.375 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.2511, allocations: 8.359 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.2514, allocations: 113.7 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2515, allocations: 0 / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.2515, allocations: 3.938 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.2515, allocations: 4 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.2518, allocations: 83.86 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.2524, allocations: 356.6 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.2527, allocations: 90.52 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.2529, allocations: 60.81 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.2529, allocations: 4 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/0.2532, allocations: 111.3 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.2532, allocations: 3.938 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0006251/0.2539, allocations: 209.4 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.2539, allocations: 55.41 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.254, allocations: 139 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.254, allocations: 25.7 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.2541, allocations: 104 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.2541, allocations: 27.77 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.2542, allocations: 29.7 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.2543, allocations: 326.8 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.2545, allocations: 51.95 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.2547, allocations: 63.94 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.255, allocations: 146.4 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.255, allocations: 0 / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004379/0.2555, allocations: 199.2 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.2555, allocations: 37.69 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2555, allocations: 0 / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.2555, allocations: 0 / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.2557, allocations: 19.92 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2557, allocations: 4 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.2558, allocations: 27.91 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.2559, allocations: 3.938 kB / 1.058 GB, free: 2.609 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 8.156e-05/0.2559, allocations: 117.8 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.256, allocations: 7.906 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.256, allocations: 16.7 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.256, allocations: 0 / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.256, allocations: 4 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.256, allocations: 4 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.2562, allocations: 205.4 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.2562, allocations: 4 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.2563, allocations: 16.45 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2563, allocations: 0 / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.2563, allocations: 7.984 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2564, allocations: 0 / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2564, allocations: 0 / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.2568, allocations: 188.8 kB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.2568, allocations: 89.02 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.2568, allocations: 0 / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.257, allocations: 11.98 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.257, allocations: 11.98 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.2571, allocations: 7.984 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.002e-05/0.2571, allocations: 113.3 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8.866e-06/0.2571, allocations: 0 / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002286/0.2574, allocations: 35.94 kB / 1.059 GB, free: 1.691 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.0007142/0.2581, allocations: 0.7411 MB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004445/0.2585, allocations: 191.2 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2586, allocations: 0 / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.2588, allocations: 67.89 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.259, allocations: 8 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.2611, allocations: 1.719 MB / 1.061 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.2613, allocations: 0.7 MB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.427e-05/0.2614, allocations: 27.89 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/0.2615, allocations: 23.44 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.2615, allocations: 0 / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.509/1.77, allocations: 2.568 MB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/1.77, allocations: 208 kB / 1.065 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/4.104, allocations: 0 / 1.065 GB, free: 11.37 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