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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 104.8 kB / 16.35 MB, free: 5.824 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.001288/0.001289, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.402/2.402, allocations: 437.1 MB / 0.7112 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 64.33 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3058, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002798/0.3086, allocations: 1.555 MB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009523/0.3096, allocations: 0.5857 MB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.104e-05/0.3096, allocations: 0 / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.858e-05/0.3097, allocations: 11.86 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.3098, allocations: 11.88 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.3102, allocations: 87.77 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.3104, allocations: 111.6 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3105, allocations: 16.22 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3106, allocations: 39.84 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.456e-05/0.3107, allocations: 55.77 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.3107, allocations: 11.98 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.3108, allocations: 87.84 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.3109, allocations: 19.92 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.3109, allocations: 35.8 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.3111, allocations: 143.5 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3112, allocations: 0 / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3112, allocations: 0 / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3112, allocations: 0 / 1.021 GB, free: 7.059 MB / 0.795 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.0007452/0.3119, allocations: 456.8 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.312, allocations: 8.031 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.312, allocations: 8.844 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.3122, allocations: 200 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3123, allocations: 4.375 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.3123, allocations: 8.359 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.3126, allocations: 109.9 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3126, allocations: 4 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3126, allocations: 8 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.3126, allocations: 4 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.3129, allocations: 87.8 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/0.3135, allocations: 352.6 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.3138, allocations: 90.52 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.314, allocations: 56.88 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.314, allocations: 0 / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002912/0.3143, allocations: 119.3 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.3143, allocations: 0 / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0005796/0.3149, allocations: 205.4 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.315, allocations: 59.41 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3151, allocations: 139.5 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3151, allocations: 25.7 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.3152, allocations: 103.9 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.3152, allocations: 31.7 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/0.3153, allocations: 29.7 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3154, allocations: 322.8 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.3156, allocations: 59.94 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.3158, allocations: 55.95 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.3161, allocations: 146.4 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3161, allocations: 0 / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004274/0.3165, allocations: 203.2 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.3166, allocations: 33.69 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3166, allocations: 0 / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3166, allocations: 4 kB / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.3167, allocations: 15.98 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3168, allocations: 0 / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.3169, allocations: 19.91 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.3169, allocations: 12.41 kB / 1.024 GB, free: 3.887 MB / 0.795 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.825e-05/0.317, allocations: 125.8 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.3171, allocations: 7.906 kB / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.3171, allocations: 16.64 kB / 1.024 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.3171, allocations: 4 kB / 1.024 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3171, allocations: 0 / 1.024 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3171, allocations: 0 / 1.024 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.3173, allocations: 209.4 kB / 1.025 GB, free: 3.473 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3173, allocations: 0 / 1.025 GB, free: 3.473 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.3174, allocations: 19.98 kB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3174, allocations: 0 / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3175, allocations: 3.984 kB / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3175, allocations: 0 / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.061e-05/0.3175, allocations: 4 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.3179, allocations: 184.8 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.318, allocations: 81.02 kB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.318, allocations: 8 kB / 1.025 GB, free: 3.141 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3181, allocations: 19.92 kB / 1.025 GB, free: 3.121 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.3182, allocations: 11.98 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3182, allocations: 7.984 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.461e-05/0.3183, allocations: 106.7 kB / 1.025 GB, free: 3 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3183, allocations: 0 / 1.025 GB, free: 3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002417/0.3186, allocations: 39.94 kB / 1.025 GB, free: 2.961 MB / 0.795 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.0001677/0.3187, allocations: 119.2 kB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004366/0.3192, allocations: 187.2 kB / 1.025 GB, free: 2.641 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.3192, allocations: 0 / 1.025 GB, free: 2.641 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.3194, allocations: 67.88 kB / 1.025 GB, free: 2.574 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.3196, allocations: 14.97 kB / 1.025 GB, free: 2.562 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.3201, allocations: 228.2 kB / 1.026 GB, free: 2.312 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.3204, allocations: 0.6963 MB / 1.026 GB, free: 1.59 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.191e-05/0.3205, allocations: 16.16 kB / 1.026 GB, free: 1.574 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.3205, allocations: 15.42 kB / 1.026 GB, free: 1.559 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.3205, allocations: 7.938 kB / 1.026 GB, free: 1.551 MB / 0.795 GB Notification: Performance of Templates: time 0.4854/0.8059, allocations: 1.403 MB / 1.028 GB, free: 160 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (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 & ./Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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