Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_9_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.0008372/0.0008372, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005167/0.005167, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.206/1.206, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.08/2.08, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002742, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5357/0.536, allocations: 142.4 MB / 0.9552 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001256/0.5373, allocations: 1.266 MB / 0.9564 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000773/0.5381, allocations: 0.5861 MB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.5382, allocations: 1.438 kB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.057e-05/0.5382, allocations: 7.922 kB / 0.957 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-05/0.5383, allocations: 14.44 kB / 0.957 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.5386, allocations: 72.17 kB / 0.9571 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.264e-05/0.5387, allocations: 89.52 kB / 0.9571 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.54e-05/0.5388, allocations: 20.75 kB / 0.9572 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.5389, allocations: 44.34 kB / 0.9572 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.5389, allocations: 37.25 kB / 0.9572 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.539, allocations: 6.75 kB / 0.9572 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-05/0.5391, allocations: 62 kB / 0.9573 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.5391, allocations: 15.2 kB / 0.9573 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.5392, allocations: 62.22 kB / 0.9574 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.5393, allocations: 134 kB / 0.9575 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.5393, allocations: 0 / 0.9575 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5393, allocations: 0 / 0.9575 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.5393, allocations: 0.9688 kB / 0.9575 GB, free: 5.777 MB / 0.7169 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.0005447/0.5399, allocations: 451.3 kB / 0.9579 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.5399, allocations: 9.969 kB / 0.9579 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.54, allocations: 40.52 kB / 0.958 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.54, allocations: 9.875 kB / 0.958 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.5401, allocations: 195.8 kB / 0.9582 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.5401, allocations: 7.406 kB / 0.9582 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.5401, allocations: 8.344 kB / 0.9582 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.5404, allocations: 111.1 kB / 0.9583 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.259e-06/0.5404, allocations: 1.188 kB / 0.9583 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.5404, allocations: 3.984 kB / 0.9583 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.5405, allocations: 7.562 kB / 0.9583 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.5408, allocations: 103.8 kB / 0.9584 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.5412, allocations: 366.1 kB / 0.9588 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.5415, allocations: 112 kB / 0.9589 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.5417, allocations: 72.75 kB / 0.9589 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-06/0.5417, allocations: 1.375 kB / 0.9589 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.542, allocations: 122.6 kB / 0.9591 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.542, allocations: 0 / 0.9591 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005745/0.5426, allocations: 237 kB / 0.9593 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.5426, allocations: 52.66 kB / 0.9593 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.149e-05/0.5427, allocations: 145.4 kB / 0.9595 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.5427, allocations: 34.83 kB / 0.9595 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.5427, allocations: 104.3 kB / 0.9596 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.5427, allocations: 30.86 kB / 0.9596 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.5428, allocations: 18.17 kB / 0.9597 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.702e-05/0.5428, allocations: 325.2 kB / 0.96 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.543, allocations: 65.64 kB / 0.96 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.5432, allocations: 69.98 kB / 0.9601 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.5435, allocations: 168.3 kB / 0.9603 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.5435, allocations: 1.375 kB / 0.9603 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004157/0.5439, allocations: 220.8 kB / 0.9605 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.544, allocations: 32.58 kB / 0.9605 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.544, allocations: 0 / 0.9605 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-06/0.544, allocations: 0 / 0.9605 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.5441, allocations: 29.84 kB / 0.9605 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.5441, allocations: 0 / 0.9605 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.5443, allocations: 23.11 kB / 0.9605 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.5443, allocations: 9.25 kB / 0.9606 GB, free: 3.266 MB / 0.7169 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 5.862e-05/0.5444, allocations: 120.7 kB / 0.9607 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.5444, allocations: 8.031 kB / 0.9607 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.5444, allocations: 15.47 kB / 0.9607 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.5444, allocations: 2.75 kB / 0.9607 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5444, allocations: 1.375 kB / 0.9607 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5444, allocations: 7.969 kB / 0.9607 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.5445, allocations: 200.8 kB / 0.9609 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5446, allocations: 0 / 0.9609 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.5447, allocations: 27.03 kB / 0.9609 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5447, allocations: 1.375 kB / 0.9609 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.5447, allocations: 0 / 0.9609 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5447, allocations: 5.375 kB / 0.9609 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5447, allocations: 0 / 0.9609 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.5451, allocations: 207.5 kB / 0.9611 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.5451, allocations: 83.17 kB / 0.9612 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.5451, allocations: 5.844 kB / 0.9612 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.5453, allocations: 20.16 kB / 0.9612 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.5453, allocations: 21.77 kB / 0.9612 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.5454, allocations: 6 kB / 0.9613 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.5454, allocations: 112.9 kB / 0.9614 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5454, allocations: 0 / 0.9614 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002269/0.5456, allocations: 35.91 kB / 0.9614 GB, free: 2.523 MB / 0.7169 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.0005825/0.5462, allocations: 0.7423 MB / 0.9621 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004133/0.5467, allocations: 207 kB / 0.9623 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5467, allocations: 0 / 0.9623 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.5469, allocations: 77.92 kB / 0.9624 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.5471, allocations: 19.42 kB / 0.9624 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.5489, allocations: 1.775 MB / 0.9641 GB, free: 248 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.5491, allocations: 0.7038 MB / 0.9648 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.907e-05/0.5492, allocations: 19.06 kB / 0.9649 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.5493, allocations: 26.92 kB / 0.9649 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.5493, allocations: 0 / 0.9649 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.297/1.847, allocations: 2.415 MB / 0.9672 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/1.847, allocations: 202.6 kB / 0.9674 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/3.373, allocations: 3.938 kB / 0.9674 GB, free: 14.09 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches