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: 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_9_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_9_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.001105/0.001105, allocations: 104.6 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.001161/0.001161, allocations: 193.1 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.347/1.347, 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 9.1.2-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 69.02 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2574, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002795/0.2602, allocations: 1.559 MB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000912/0.2612, allocations: 0.5765 MB / 0.9532 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.2612, allocations: 0 / 0.9532 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.309e-05/0.2613, allocations: 11.86 kB / 0.9532 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.2614, allocations: 19.8 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.2617, allocations: 91.77 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.2619, allocations: 95.75 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.262, allocations: 16.23 kB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.618e-05/0.2621, allocations: 47.77 kB / 0.9535 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.154e-05/0.2622, allocations: 47.83 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.2622, allocations: 8 kB / 0.9535 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.2624, allocations: 91.84 kB / 0.9536 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.2624, allocations: 19.92 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.2625, allocations: 47.72 kB / 0.9537 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.2627, allocations: 139.5 kB / 0.9538 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2627, allocations: 0 / 0.9538 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2627, allocations: 0 / 0.9538 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.2627, allocations: 0 / 0.9538 GB, free: 5.301 MB / 0.7325 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.0007146/0.2634, allocations: 458.9 kB / 0.9542 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.2635, allocations: 11.97 kB / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.2635, allocations: 8.844 kB / 0.9543 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.2637, allocations: 200.1 kB / 0.9544 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2637, allocations: 4.375 kB / 0.9544 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.2637, allocations: 8.359 kB / 0.9545 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.264, allocations: 105.9 kB / 0.9546 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.264, allocations: 0 / 0.9546 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.264, allocations: 4 kB / 0.9546 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.264, allocations: 4 kB / 0.9546 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.2644, allocations: 87.86 kB / 0.9546 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006053/0.265, allocations: 352.5 kB / 0.955 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.2653, allocations: 102.4 kB / 0.9551 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.2655, allocations: 56.88 kB / 0.9551 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.2655, allocations: 0 / 0.9551 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.2658, allocations: 111.3 kB / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.532e-06/0.2658, allocations: 4 kB / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0006106/0.2664, allocations: 205.5 kB / 0.9554 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.2665, allocations: 55.41 kB / 0.9555 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.2666, allocations: 146.8 kB / 0.9556 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.2667, allocations: 25.7 kB / 0.9557 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.2667, allocations: 100 kB / 0.9558 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.2668, allocations: 27.64 kB / 0.9558 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.2668, allocations: 25.7 kB / 0.9558 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2669, allocations: 330.8 kB / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.2671, allocations: 51.95 kB / 0.9562 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.2673, allocations: 55.95 kB / 0.9562 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.2676, allocations: 154.5 kB / 0.9564 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2676, allocations: 0 / 0.9564 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004238/0.2681, allocations: 199.2 kB / 0.9566 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.2681, allocations: 29.7 kB / 0.9566 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2681, allocations: 4.078 kB / 0.9566 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2681, allocations: 4 kB / 0.9566 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.2683, allocations: 19.92 kB / 0.9566 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.2683, allocations: 7.969 kB / 0.9566 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.2684, allocations: 19.83 kB / 0.9566 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.2685, allocations: 11.98 kB / 0.9567 GB, free: 2.121 MB / 0.7325 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.0001309/0.2686, allocations: 126.2 kB / 0.9568 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.2686, allocations: 11.89 kB / 0.9568 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.2687, allocations: 12.72 kB / 0.9568 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.2687, allocations: 4 kB / 0.9568 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2687, allocations: 3.938 kB / 0.9568 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2687, allocations: 0 / 0.9568 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.2689, allocations: 201.5 kB / 0.957 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2689, allocations: 4 kB / 0.957 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.269, allocations: 15.98 kB / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.269, allocations: 0 / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.269, allocations: 3.984 kB / 0.957 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2691, allocations: 4 kB / 0.957 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2691, allocations: 4 kB / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.2695, allocations: 184.7 kB / 0.9572 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.2695, allocations: 81.02 kB / 0.9573 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.2696, allocations: 8 kB / 0.9573 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.2697, allocations: 15.98 kB / 0.9573 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.2698, allocations: 15.97 kB / 0.9573 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.2698, allocations: 4 kB / 0.9573 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.366e-05/0.2698, allocations: 105 kB / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2698, allocations: 0 / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000241/0.2701, allocations: 43.91 kB / 0.9575 GB, free: 1.191 MB / 0.7325 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.0001785/0.2703, allocations: 119.2 kB / 0.9576 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004259/0.2707, allocations: 187.3 kB / 0.9578 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2707, allocations: 3.938 kB / 0.9578 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.2709, allocations: 63.89 kB / 0.9578 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.2711, allocations: 4 kB / 0.9578 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.2716, allocations: 242 kB / 0.9581 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.2719, allocations: 0.6963 MB / 0.9587 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.09e-05/0.272, allocations: 11.98 kB / 0.9587 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.272, allocations: 11.44 kB / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.272, allocations: 4.188 kB / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.004267/0.2763, allocations: 1.398 MB / 0.9601 GB, free: 14.39 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (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 & ./Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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