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.01075/0.01075, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.00178/0.00178, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 59.91 kB / 1.054 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2981, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002716/0.3009, allocations: 1.545 MB / 1.209 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009963/0.3019, allocations: 0.5769 MB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.302, allocations: 0 / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.3021, allocations: 15.8 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.91e-05/0.3023, allocations: 19.84 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.3027, allocations: 91.77 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.3029, allocations: 99.64 kB / 1.21 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.303, allocations: 20.22 kB / 1.21 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3031, allocations: 47.77 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.06e-05/0.3032, allocations: 47.83 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.3033, allocations: 12 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.3034, allocations: 83.86 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.3035, allocations: 19.92 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.765e-05/0.3035, allocations: 43.77 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.3038, allocations: 135.8 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3038, allocations: 0 / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3038, allocations: 0 / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3038, allocations: 0 / 1.21 GB, free: 7.422 MB / 0.9669 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.0007608/0.3045, allocations: 460.6 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3046, allocations: 8.625 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.3046, allocations: 42.73 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.3047, allocations: 8.844 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.3049, allocations: 204 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3049, allocations: 4.375 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.3049, allocations: 4.375 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.3052, allocations: 101.8 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3052, allocations: 7.984 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3052, allocations: 3.984 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.3053, allocations: 4 kB / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.3056, allocations: 91.86 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006369/0.3062, allocations: 340.7 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.3066, allocations: 90.52 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.3067, allocations: 56.88 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.3068, allocations: 7.938 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000319/0.3071, allocations: 115.4 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.674e-06/0.3071, allocations: 0 / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0006753/0.3078, allocations: 217.2 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.3078, allocations: 59.41 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.308, allocations: 136.1 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.308, allocations: 29.7 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.3081, allocations: 104.1 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.3081, allocations: 23.61 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.3082, allocations: 25.72 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.3083, allocations: 322.8 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.3085, allocations: 64 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.3087, allocations: 59.89 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.3091, allocations: 146.4 kB / 1.213 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3091, allocations: 0 / 1.213 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004625/0.3095, allocations: 199.2 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.3096, allocations: 33.7 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3096, allocations: 3.984 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3096, allocations: 0 / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3098, allocations: 19.98 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3098, allocations: 3.938 kB / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.3099, allocations: 23.83 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.31, allocations: 11.92 kB / 1.213 GB, free: 4.191 MB / 0.9669 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.936e-05/0.3101, allocations: 117.8 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.3101, allocations: 7.906 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.3101, allocations: 20.7 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.3101, allocations: 4 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3102, allocations: 0 / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3102, allocations: 3.938 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.3104, allocations: 193.5 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3104, allocations: 4 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.3105, allocations: 19.98 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.3105, allocations: 4 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3105, allocations: 0 / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3105, allocations: 480 / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3105, allocations: 0 / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.311, allocations: 192.8 kB / 1.213 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.311, allocations: 89 kB / 1.213 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.3111, allocations: 3.984 kB / 1.213 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3112, allocations: 11.98 kB / 1.213 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.3113, allocations: 15.98 kB / 1.213 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.3113, allocations: 3.984 kB / 1.213 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.731e-05/0.3114, allocations: 108.9 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3114, allocations: 0 / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002504/0.3116, allocations: 47.91 kB / 1.214 GB, free: 3.262 MB / 0.9669 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.000764/0.3124, allocations: 0.7294 MB / 1.214 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004787/0.3129, allocations: 187.2 kB / 1.215 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3129, allocations: 0 / 1.215 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.3131, allocations: 67.92 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.3133, allocations: 4 kB / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.3158, allocations: 1.719 MB / 1.216 GB, free: 444 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.3161, allocations: 0.7041 MB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.643e-05/0.3162, allocations: 16.25 kB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/0.3163, allocations: 31.42 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of SimCode: time 7.41e-07/0.3163, allocations: 0 / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.3338, allocations: 2.801 MB / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.308/7.642, allocations: 6.781 kB / 1.22 GB, free: 12.95 MB / 0.9825 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