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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004626/0.004626, allocations: 99.25 kB / 15.73 MB, free: 6.492 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.001276/0.001276, allocations: 198.8 kB / 16.68 MB, free: 6.375 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.204/1.204, 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 12.0.0-master/package.mo): time 2.613/2.613, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 67.88 kB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2655, allocations: 162.3 MB / 1.242 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002442/0.268, allocations: 1.552 MB / 1.243 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008868/0.2689, allocations: 0.5688 MB / 1.244 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.269, allocations: 4 kB / 1.244 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.134e-05/0.2691, allocations: 11.92 kB / 1.244 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.559e-05/0.2691, allocations: 19.73 kB / 1.244 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.2695, allocations: 91.77 kB / 1.244 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.2696, allocations: 103.6 kB / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.378e-05/0.2697, allocations: 24.22 kB / 1.244 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.2698, allocations: 47.77 kB / 1.244 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.2e-05/0.2699, allocations: 43.83 kB / 1.244 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.2699, allocations: 8 kB / 1.244 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.2701, allocations: 87.84 kB / 1.244 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.2701, allocations: 23.91 kB / 1.244 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.2702, allocations: 39.8 kB / 1.244 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.2704, allocations: 139.5 kB / 1.245 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2704, allocations: 0 / 1.245 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2704, allocations: 0 / 1.245 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2704, allocations: 0 / 1.245 GB, free: 7.109 MB / 0.9981 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.0007062/0.2711, allocations: 454.7 kB / 1.245 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2712, allocations: 15.97 kB / 1.245 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.2712, allocations: 34.75 kB / 1.245 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.2712, allocations: 8.891 kB / 1.245 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.2714, allocations: 208.1 kB / 1.245 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.2714, allocations: 384 / 1.245 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.2715, allocations: 8.375 kB / 1.245 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.2717, allocations: 105.7 kB / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.2718, allocations: 0 / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2718, allocations: 0 / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.2718, allocations: 4 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.2721, allocations: 95.84 kB / 1.245 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.2727, allocations: 348.6 kB / 1.246 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.273, allocations: 94.5 kB / 1.246 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.2732, allocations: 60.88 kB / 1.246 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.2732, allocations: 0 / 1.246 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002968/0.2735, allocations: 115.3 kB / 1.246 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.2735, allocations: 0 / 1.246 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0006184/0.2742, allocations: 209.4 kB / 1.246 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.2742, allocations: 55.41 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.2743, allocations: 143.7 kB / 1.246 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.2744, allocations: 29.7 kB / 1.246 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.2744, allocations: 100.1 kB / 1.247 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.2745, allocations: 27.78 kB / 1.247 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.2745, allocations: 29.77 kB / 1.247 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2746, allocations: 326.8 kB / 1.247 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.2748, allocations: 55.95 kB / 1.247 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.275, allocations: 60 kB / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.2754, allocations: 150.4 kB / 1.247 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2754, allocations: 0 / 1.247 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004457/0.2758, allocations: 199.2 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.2759, allocations: 30.64 kB / 1.247 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2759, allocations: 0 / 1.247 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.2759, allocations: 8 kB / 1.247 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.2761, allocations: 19.97 kB / 1.247 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2761, allocations: 0 / 1.247 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.2762, allocations: 11.98 kB / 1.247 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.2762, allocations: 7.938 kB / 1.247 GB, free: 3.898 MB / 0.9981 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.693e-05/0.2763, allocations: 133.7 kB / 1.248 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.2764, allocations: 7.953 kB / 1.248 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.2764, allocations: 16.72 kB / 1.248 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.2764, allocations: 4 kB / 1.248 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2764, allocations: 3.984 kB / 1.248 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2764, allocations: 0 / 1.248 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.2766, allocations: 201.5 kB / 1.248 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2766, allocations: 0 / 1.248 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.2767, allocations: 23.91 kB / 1.248 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2767, allocations: 0 / 1.248 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.2767, allocations: 7.984 kB / 1.248 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2768, allocations: 0 / 1.248 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2768, allocations: 8.469 kB / 1.248 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.2772, allocations: 184.8 kB / 1.248 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.2772, allocations: 81.06 kB / 1.248 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.2773, allocations: 4 kB / 1.248 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.2774, allocations: 23.97 kB / 1.248 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.2775, allocations: 7.984 kB / 1.248 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.2775, allocations: 4 kB / 1.248 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.374e-05/0.2776, allocations: 113.3 kB / 1.248 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2776, allocations: 0 / 1.248 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002225/0.2778, allocations: 43.88 kB / 1.248 GB, free: 2.953 MB / 0.9981 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.0007543/0.2786, allocations: 0.73 MB / 1.249 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004452/0.279, allocations: 183.2 kB / 1.249 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.279, allocations: 0 / 1.249 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.2792, allocations: 67.95 kB / 1.249 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.2794, allocations: 11.98 kB / 1.249 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.2817, allocations: 1.718 MB / 1.251 GB, free: 120 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4451/0.7268, allocations: 0.6989 MB / 1.252 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.7269, allocations: 11.72 kB / 1.252 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.727, allocations: 29.73 kB / 1.252 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.727, allocations: 0 / 1.252 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9057/1.633, allocations: 2.758 MB / 1.254 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/14.71, allocations: 5.203 kB / 1.254 GB, free: 14.08 MB / 0.9981 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=400 --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