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.001212/0.001212, allocations: 108 kB / 15.61 MB, free: 152 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.001211/0.001211, allocations: 197 kB / 16.53 MB, free: 6.664 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.164/1.164, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.265/2.265, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4735, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002414/0.476, allocations: 1.542 MB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008543/0.4768, allocations: 0.5843 MB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.297e-05/0.4769, allocations: 4 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.286e-05/0.477, allocations: 7.875 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.4771, allocations: 19.8 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.4775, allocations: 87.77 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.4776, allocations: 99.64 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.831e-05/0.4777, allocations: 24.22 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.4778, allocations: 35.91 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.384e-05/0.4779, allocations: 55.75 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.478, allocations: 8.047 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.857e-05/0.4781, allocations: 59.84 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.4781, allocations: 19.92 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.4782, allocations: 35.8 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.4783, allocations: 141.9 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4784, allocations: 3.938 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.153e-06/0.4784, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.4784, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 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.0006887/0.4791, allocations: 458.1 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.4791, allocations: 12.03 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.4791, allocations: 38.69 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.4792, allocations: 16.83 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.4793, allocations: 192.1 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.4794, allocations: 384 / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.4794, allocations: 4.375 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.4797, allocations: 117.7 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.4797, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4797, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.4797, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.48, allocations: 91.91 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.4806, allocations: 352.5 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.4809, allocations: 98.45 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.4811, allocations: 60.88 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.4811, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.4814, allocations: 119.3 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.4814, allocations: 0 / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005997/0.482, allocations: 197.4 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.4821, allocations: 63.39 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.4822, allocations: 135.5 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.4822, allocations: 29.7 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.4822, allocations: 107.9 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.4823, allocations: 27.72 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.4823, allocations: 25.7 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.4824, allocations: 326.8 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.4826, allocations: 59.89 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.4828, allocations: 56.23 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.4831, allocations: 146.5 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4832, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004356/0.4836, allocations: 203.2 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.4836, allocations: 37.7 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4836, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.4837, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.4838, allocations: 23.97 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.4838, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.484, allocations: 19.89 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.484, allocations: 3.938 kB / 1.023 GB, free: 12.52 MB / 0.7794 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 8.251e-05/0.4841, allocations: 125.8 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.4841, allocations: 7.906 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.4841, allocations: 12.72 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.4841, allocations: 7.984 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4841, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4842, allocations: 4 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.4843, allocations: 197.5 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4843, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.4844, allocations: 23.91 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4844, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.4844, allocations: 4 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4845, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4845, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.4849, allocations: 184.8 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.4849, allocations: 85.02 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.485, allocations: 7.984 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.4851, allocations: 11.98 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.4851, allocations: 15.92 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.4852, allocations: 4 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.719e-05/0.4852, allocations: 112.9 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4852, allocations: 0 / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002213/0.4855, allocations: 36 kB / 1.024 GB, free: 11.59 MB / 0.7794 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.0006651/0.4861, allocations: 0.7373 MB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004229/0.4866, allocations: 191.2 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4866, allocations: 0 / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.4868, allocations: 67.89 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.487, allocations: 15.98 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.489, allocations: 1.694 MB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.4892, allocations: 0.7041 MB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.607e-05/0.4892, allocations: 15.97 kB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.4893, allocations: 31.42 kB / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.4893, allocations: 0 / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.194/2.683, allocations: 2.718 MB / 1.03 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/14.1, allocations: 7.953 kB / 1.03 GB, free: 5.336 MB / 0.7794 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