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.0008243/0.000824, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009902/0.0009905, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.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.847/2.847, allocations: 437.7 MB / 0.7117 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004206, allocations: 15.94 kB / 0.8722 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8171/0.8175, allocations: 153.8 MB / 1.022 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002052/0.8197, allocations: 1.25 MB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.8209, allocations: 0.5459 MB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.189e-05/0.821, allocations: 4 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.8211, allocations: 11.92 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.8212, allocations: 7.875 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.8216, allocations: 71.78 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.8218, allocations: 83.7 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.8219, allocations: 16.22 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.8221, allocations: 43.84 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.327e-05/0.8222, allocations: 35.83 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.8222, allocations: 4 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.8223, allocations: 55.89 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.8224, allocations: 15.97 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.8224, allocations: 41.64 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.8226, allocations: 85.8 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8226, allocations: 0 / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8227, allocations: 7.938 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.8227, allocations: 0 / 1.025 GB, free: 13.71 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.0008158/0.8235, allocations: 444.7 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.8235, allocations: 8.562 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.8236, allocations: 15.81 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.8238, allocations: 194.9 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.8238, allocations: 3.953 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.8239, allocations: 4 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.8242, allocations: 117.6 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.8242, allocations: 3.938 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.8243, allocations: 4 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.8243, allocations: 4 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.8246, allocations: 115.8 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006868/0.8253, allocations: 352.6 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.8256, allocations: 110.5 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.8258, allocations: 72.81 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.8259, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003286/0.8262, allocations: 127.3 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.8262, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006717/0.8269, allocations: 229.4 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.8269, allocations: 51.41 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.8271, allocations: 151.5 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.8271, allocations: 29.7 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.8272, allocations: 104 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.8272, allocations: 31.55 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.8272, allocations: 4 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.8274, allocations: 322.8 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.8276, allocations: 64.23 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.8278, allocations: 67.89 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.828, allocations: 97.66 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.828, allocations: 0 / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004685/0.8284, allocations: 223.2 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.8285, allocations: 33.7 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.8285, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.8285, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.8287, allocations: 27.97 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.8287, allocations: 0 / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.8289, allocations: 23.94 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.8289, allocations: 8 kB / 1.028 GB, free: 10.48 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.829, allocations: 125.8 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.829, allocations: 7.906 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.8291, allocations: 12.72 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.8291, allocations: 7.984 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.8291, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8291, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.8293, allocations: 209.4 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.8294, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.8295, allocations: 23.97 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.8295, allocations: 0 / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.8295, allocations: 0 / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.8295, allocations: 4 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.8295, allocations: 0 / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.8299, allocations: 204.8 kB / 1.028 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.83, allocations: 89.02 kB / 1.028 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.83, allocations: 3.984 kB / 1.028 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.8302, allocations: 15.98 kB / 1.028 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.886e-05/0.8302, allocations: 15.98 kB / 1.028 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.8303, allocations: 3.984 kB / 1.028 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.09e-05/0.8303, allocations: 105 kB / 1.028 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8303, allocations: 3.938 kB / 1.028 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002905/0.8306, allocations: 40.19 kB / 1.028 GB, free: 9.531 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001906/0.8308, allocations: 123.2 kB / 1.028 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004846/0.8313, allocations: 211.2 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8313, allocations: 0 / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.8315, allocations: 75.94 kB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.8318, allocations: 12 kB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.8323, allocations: 254.9 kB / 1.029 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.8327, allocations: 0.6965 MB / 1.03 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.783e-05/0.8327, allocations: 15.97 kB / 1.03 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.8328, allocations: 15.42 kB / 1.03 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8328, allocations: 0 / 1.03 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of Templates: time 0.00398/0.8368, allocations: 1.249 MB / 1.031 GB, free: 6.824 MB / 0.7794 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches