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: 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.001662/0.001662, allocations: 106.6 kB / 15.99 MB, free: 6.348 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.001657/0.001657, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.461/1.461, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.504/2.504, allocations: 437.1 MB / 0.7107 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 68.11 kB / 0.8694 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3002, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003011/0.3033, allocations: 1.62 MB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.3044, allocations: 0.5688 MB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.3045, allocations: 0 / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.3046, allocations: 11.92 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.93e-05/0.3047, allocations: 15.86 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.3051, allocations: 79.84 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.3052, allocations: 103.6 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3053, allocations: 16.22 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.3055, allocations: 43.84 kB / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.346e-05/0.3056, allocations: 47.77 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.3056, allocations: 12 kB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.3057, allocations: 59.95 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.3058, allocations: 23.91 kB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.3059, allocations: 35.8 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.306, allocations: 96.05 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3061, allocations: 0 / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.517e-06/0.3061, allocations: 0 / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3061, allocations: 3.938 kB / 1.02 GB, free: 8.266 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.000889/0.307, allocations: 462.8 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.307, allocations: 12.03 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.3071, allocations: 8.844 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.3073, allocations: 192.1 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.3073, allocations: 8.359 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.3074, allocations: 4.375 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.3077, allocations: 101.9 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3077, allocations: 3.938 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3077, allocations: 4 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.3078, allocations: 7.984 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.3081, allocations: 87.92 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000708/0.3088, allocations: 348.6 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.3092, allocations: 90.45 kB / 1.021 GB, free: 6.809 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.3094, allocations: 56.88 kB / 1.021 GB, free: 6.75 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.3094, allocations: 7.984 kB / 1.021 GB, free: 6.742 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003372/0.3098, allocations: 115.3 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 2.294e-06/0.3098, allocations: 0 / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0006947/0.3105, allocations: 213.5 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.3105, allocations: 55.41 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.3107, allocations: 135.4 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.3107, allocations: 29.7 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.3108, allocations: 107.9 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.3108, allocations: 23.66 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.3109, allocations: 25.7 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.3111, allocations: 322.8 kB / 1.022 GB, free: 5.672 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.3113, allocations: 59.95 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.3115, allocations: 67.94 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.3119, allocations: 138.5 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3119, allocations: 0 / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004888/0.3124, allocations: 203.1 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.3124, allocations: 37.7 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3124, allocations: 0 / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3125, allocations: 0 / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.3126, allocations: 23.91 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3126, allocations: 0 / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.3128, allocations: 19.92 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.3128, allocations: 4 kB / 1.023 GB, free: 5.102 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 0.0001159/0.3129, allocations: 129.8 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.313, allocations: 7.906 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/0.313, allocations: 12.72 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.313, allocations: 8.453 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.313, allocations: 0 / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.313, allocations: 0 / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.3133, allocations: 193.5 kB / 1.023 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3133, allocations: 7.938 kB / 1.023 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.3134, allocations: 27.91 kB / 1.023 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.3134, allocations: 4 kB / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.3134, allocations: 4 kB / 1.023 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3134, allocations: 0 / 1.023 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3134, allocations: 3.938 kB / 1.023 GB, free: 4.648 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.3139, allocations: 180.9 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.314, allocations: 85.02 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.314, allocations: 7.969 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3141, allocations: 11.98 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.3142, allocations: 15.98 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.3142, allocations: 0 / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.264e-05/0.3143, allocations: 109.5 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.697e-06/0.3143, allocations: 0 / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002611/0.3146, allocations: 51.88 kB / 1.024 GB, free: 4.16 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.0001907/0.3148, allocations: 115.8 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005336/0.3153, allocations: 187.2 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3154, allocations: 0 / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.3156, allocations: 59.95 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.3158, allocations: 11.98 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.3165, allocations: 289.7 kB / 1.024 GB, free: 3.457 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.3168, allocations: 0.6976 MB / 1.025 GB, free: 2.734 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.3169, allocations: 19.36 kB / 1.025 GB, free: 2.719 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.3169, allocations: 0 / 1.025 GB, free: 2.719 MB / 0.795 GB Notification: Performance of Templates: time 0.003679/0.3206, allocations: 1.519 MB / 1.027 GB, free: 1.207 MB / 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=400 -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