Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_10_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.008871/0.008872, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001739/0.001739, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.417/2.417, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 60.12 kB / 1.018 GB, free: 9.984 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7921/0.7935, allocations: 151.6 MB / 1.166 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003079/0.7966, allocations: 1.544 MB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.7977, allocations: 0.5804 MB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.768e-05/0.7978, allocations: 0 / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.798, allocations: 11.86 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.677e-05/0.7981, allocations: 15.86 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.7986, allocations: 95.7 kB / 1.168 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.7988, allocations: 103.7 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.799, allocations: 12.23 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.7991, allocations: 51.83 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.59e-05/0.7992, allocations: 47.83 kB / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.7993, allocations: 8 kB / 1.169 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.7994, allocations: 91.78 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.7995, allocations: 15.98 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.664e-05/0.7996, allocations: 43.72 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.7998, allocations: 137.9 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7998, allocations: 0 / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7998, allocations: 0 / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.7998, allocations: 0 / 1.169 GB, free: 1.059 MB / 0.8887 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.0008607/0.8007, allocations: 456.7 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.8008, allocations: 8.625 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.8008, allocations: 38.75 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.8009, allocations: 12.78 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.8011, allocations: 197.8 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.8011, allocations: 4.375 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.8011, allocations: 8.375 kB / 1.169 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.8014, allocations: 105.7 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.8015, allocations: 3.938 kB / 1.17 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.8015, allocations: 0 / 1.17 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.8015, allocations: 8 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.8018, allocations: 91.84 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007344/0.8026, allocations: 348.6 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.8029, allocations: 90.5 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.8031, allocations: 64.81 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.8031, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003677/0.8035, allocations: 111.3 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 2.284e-06/0.8035, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.000608/0.8041, allocations: 209.5 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.8041, allocations: 55.41 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.8043, allocations: 147.9 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.8043, allocations: 33.7 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.8043, allocations: 92.14 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.8044, allocations: 31.55 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.8044, allocations: 25.7 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.8045, allocations: 322.8 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.8047, allocations: 67.95 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.8049, allocations: 55.95 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.8052, allocations: 142.9 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8052, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004506/0.8057, allocations: 207.2 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.8057, allocations: 33.8 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.8058, allocations: 3.938 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.8058, allocations: 0 / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.8059, allocations: 23.91 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.806, allocations: 8.062 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.8061, allocations: 19.97 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.8061, allocations: 7.938 kB / 1.172 GB, free: 13.83 MB / 0.9044 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.0001073/0.8062, allocations: 121.8 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.8063, allocations: 11.81 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.8063, allocations: 16.7 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.8063, allocations: 4 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8063, allocations: 0 / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.8063, allocations: 0 / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.8065, allocations: 201.5 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.8065, allocations: 4 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.8066, allocations: 23.97 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8066, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.8067, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8067, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.8067, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.8071, allocations: 184.8 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.8071, allocations: 85.02 kB / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.8072, allocations: 0 / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.8073, allocations: 19.97 kB / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.8074, allocations: 15.97 kB / 1.172 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.8074, allocations: 4 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.398e-05/0.8074, allocations: 107.2 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8074, allocations: 3.938 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002502/0.8077, allocations: 39.98 kB / 1.173 GB, free: 12.91 MB / 0.9044 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.000726/0.8084, allocations: 0.7332 MB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004287/0.8089, allocations: 191.2 kB / 1.173 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8089, allocations: 0 / 1.173 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.8091, allocations: 59.95 kB / 1.173 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.8093, allocations: 34.42 kB / 1.173 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.8115, allocations: 1.696 MB / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.8117, allocations: 0.7085 MB / 1.176 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.444e-05/0.8118, allocations: 11.98 kB / 1.176 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.182e-05/0.8118, allocations: 27.42 kB / 1.176 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of SimCode: time 1.763e-06/0.8118, allocations: 0 / 1.176 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.8293, allocations: 2.757 MB / 1.179 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/8.383, allocations: 12.89 kB / 1.179 GB, free: 6.625 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches