Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001339/0.001339, allocations: 177.3 kB / 15.95 MB, free: 216 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.409/1.409, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.755/2.755, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 11.98 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8378/0.8382, allocations: 153.6 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00122/0.8395, allocations: 0.5739 MB / 1.021 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.8413, allocations: 1.234 MB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.8414, allocations: 4 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.8415, allocations: 11.88 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.643e-05/0.8416, allocations: 35.81 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006789/0.8422, allocations: 216.5 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00024/0.8425, allocations: 167.7 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.8427, allocations: 49.62 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.8428, allocations: 99.73 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.843, allocations: 75.72 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.8431, allocations: 12 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.8432, allocations: 31.97 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.8432, allocations: 31.86 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.639e-05/0.8433, allocations: 57.64 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.8436, allocations: 257.3 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8436, allocations: 0 / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8436, allocations: 0 / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.8436, allocations: 0 / 1.024 GB, free: 14.25 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006732/0.8443, allocations: 0.4941 MB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.8444, allocations: 15.92 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.8444, allocations: 27.81 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006725/0.8451, allocations: 308 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.8452, allocations: 12 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.8452, allocations: 19.95 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.8455, allocations: 153 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.8455, allocations: 0 / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.8456, allocations: 8 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.8456, allocations: 4 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.8457, allocations: 63.89 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008752/0.8466, allocations: 0.7507 MB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.847e-05/0.8467, allocations: 73.17 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.8467, allocations: 0 / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.8469, allocations: 105 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 9.61e-07/0.8469, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002956/0.8472, allocations: 121.5 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.8473, allocations: 89.11 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.8475, allocations: 211.6 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.8476, allocations: 33.69 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.8477, allocations: 136.2 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.8477, allocations: 23.73 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.8477, allocations: 4 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.8479, allocations: 330.8 kB / 1.026 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.848, allocations: 67.91 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.8482, allocations: 135 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.8484, allocations: 131.3 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8484, allocations: 0 / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000425/0.8488, allocations: 288.7 kB / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/0.8489, allocations: 71.39 kB / 1.027 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.8489, allocations: 0 / 1.027 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.8489, allocations: 4 kB / 1.027 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.849, allocations: 11.94 kB / 1.027 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.849, allocations: 8.172 kB / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.8494, allocations: 87.92 kB / 1.027 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.8495, allocations: 12 kB / 1.027 GB, free: 10.16 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,extIntSig1.y[4],$PRE.intPul.booPul.y,intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],$PRE.intPul1.booPul.y,intPul1.booPul.y,conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.000156/0.8496, allocations: 148 kB / 1.027 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.8497, allocations: 19.75 kB / 1.027 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.8498, allocations: 20.94 kB / 1.027 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.8498, allocations: 0 / 1.027 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.8498, allocations: 0 / 1.027 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.8498, allocations: 0 / 1.027 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.85, allocations: 237.4 kB / 1.028 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.85, allocations: 0 / 1.028 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.85, allocations: 11.98 kB / 1.028 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.8501, allocations: 7.953 kB / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.8501, allocations: 0 / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8501, allocations: 3.938 kB / 1.028 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8501, allocations: 4 kB / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.8503, allocations: 143.5 kB / 1.028 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.8504, allocations: 96.88 kB / 1.028 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.8504, allocations: 7.984 kB / 1.028 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.805e-05/0.8504, allocations: 0 / 1.028 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.8505, allocations: 4 kB / 1.028 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.8505, allocations: 7.984 kB / 1.028 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001239/0.8506, allocations: 141.5 kB / 1.028 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8506, allocations: 0 / 1.028 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002668/0.8509, allocations: 43.91 kB / 1.028 GB, free: 9.176 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * 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.000183/0.8511, allocations: 115.2 kB / 1.028 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003785/0.8515, allocations: 259.2 kB / 1.028 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8515, allocations: 0 / 1.028 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.562e-05/0.8516, allocations: 31.98 kB / 1.028 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.8518, allocations: 40.91 kB / 1.029 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005857/0.8524, allocations: 333.6 kB / 1.029 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.8528, allocations: 0.74 MB / 1.03 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.392e-05/0.8529, allocations: 17.55 kB / 1.03 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.8529, allocations: 19.42 kB / 1.03 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8529, allocations: 0 / 1.03 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of Templates: time 0.005616/0.8585, allocations: 2.344 MB / 1.032 GB, free: 5.246 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches