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.001199/0.001199, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.157/1.157, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.427/2.427, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 62.44 kB / 0.8992 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2232, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002584/0.2259, allocations: 1.554 MB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008821/0.2268, allocations: 0.5841 MB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.2268, allocations: 4 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.017e-05/0.2269, allocations: 15.86 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.874e-05/0.227, allocations: 15.8 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.2273, allocations: 91.75 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.2275, allocations: 103.6 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.2276, allocations: 20.23 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.2277, allocations: 47.77 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.2278, allocations: 47.77 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.2278, allocations: 8 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.764e-05/0.2279, allocations: 59.95 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.2279, allocations: 15.92 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.548e-05/0.228, allocations: 43.78 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.2282, allocations: 147.8 kB / 1.056 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2282, allocations: 0 / 1.056 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2282, allocations: 0 / 1.056 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.2282, allocations: 0 / 1.056 GB, free: 5.492 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.0006954/0.2289, allocations: 444.8 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.2289, allocations: 8.625 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.229, allocations: 38.75 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.229, allocations: 12.75 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.2292, allocations: 196.2 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.2292, allocations: 4.375 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.2292, allocations: 8.375 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.2295, allocations: 105.7 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.2295, allocations: 0 / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.2295, allocations: 7.984 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.2295, allocations: 4 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.2299, allocations: 95.84 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.2304, allocations: 344.6 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.2307, allocations: 98.5 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.2309, allocations: 60.88 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.2309, allocations: 0 / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002875/0.2312, allocations: 111.3 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 2.856e-06/0.2312, allocations: 0 / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005999/0.2318, allocations: 209.8 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.2319, allocations: 51.41 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.232, allocations: 147.3 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.232, allocations: 33.7 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.2321, allocations: 107.9 kB / 1.058 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.2321, allocations: 19.72 kB / 1.058 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.2322, allocations: 25.7 kB / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.2322, allocations: 326.8 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.2324, allocations: 55.95 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.2326, allocations: 59.95 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.233, allocations: 138.5 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.233, allocations: 0 / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000437/0.2334, allocations: 215.1 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.2335, allocations: 33.7 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.2335, allocations: 0 / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.2335, allocations: 0 / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.2336, allocations: 19.97 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.2336, allocations: 4 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.2338, allocations: 15.92 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.2338, allocations: 11.94 kB / 1.058 GB, free: 2.281 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 7.971e-05/0.2339, allocations: 121.8 kB / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.2339, allocations: 7.906 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.2339, allocations: 16.72 kB / 1.059 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.234, allocations: 4 kB / 1.059 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.234, allocations: 0 / 1.059 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.234, allocations: 3.984 kB / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.2341, allocations: 197.5 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2341, allocations: 3.938 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.2342, allocations: 23.97 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2343, allocations: 0 / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.2343, allocations: 4 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2343, allocations: 0 / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2343, allocations: 0 / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.2347, allocations: 181 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.2347, allocations: 88.95 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.2348, allocations: 4 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.2349, allocations: 23.95 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.2349, allocations: 15.98 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.235, allocations: 0 / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.324e-05/0.235, allocations: 113.1 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.235, allocations: 0 / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002222/0.2353, allocations: 36 kB / 1.059 GB, free: 1.359 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.0006635/0.2359, allocations: 0.7332 MB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00043/0.2364, allocations: 191.2 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2364, allocations: 4 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.2366, allocations: 63.94 kB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.2368, allocations: 11.98 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.2388, allocations: 1.694 MB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.239, allocations: 0.7117 MB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.448e-05/0.2391, allocations: 11.97 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.2392, allocations: 31.42 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2392, allocations: 0 / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.866/2.105, allocations: 2.718 MB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/13.24, allocations: 8.406 kB / 1.065 GB, free: 11.12 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