Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.0008499/0.0008502, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006389/0.006389, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.493/1.493, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.565/2.565, allocations: 390.9 MB / 0.6663 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004782, allocations: 8 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9285/0.929, allocations: 142.4 MB / 0.9551 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00103/0.9301, allocations: 0.584 MB / 0.9556 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.9316, allocations: 1.317 MB / 0.9569 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.9317, allocations: 1.438 kB / 0.9569 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.9318, allocations: 9.344 kB / 0.9569 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.477e-05/0.9319, allocations: 22.75 kB / 0.9569 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006604/0.9325, allocations: 243.2 kB / 0.9572 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.9328, allocations: 285.3 kB / 0.9574 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.933, allocations: 61.19 kB / 0.9575 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.9331, allocations: 104.5 kB / 0.9576 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.9334, allocations: 103.5 kB / 0.9577 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.9334, allocations: 11.44 kB / 0.9577 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.851e-05/0.9335, allocations: 24.8 kB / 0.9577 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.9336, allocations: 37.69 kB / 0.9578 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.9337, allocations: 120.7 kB / 0.9579 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.9339, allocations: 301.7 kB / 0.9582 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.9339, allocations: 1.375 kB / 0.9582 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.934, allocations: 0 / 0.9582 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.934, allocations: 4 kB / 0.9582 GB, free: 5.34 MB / 0.7169 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.0005484/0.9345, allocations: 0.4947 MB / 0.9587 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.9346, allocations: 8.438 kB / 0.9587 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/0.9346, allocations: 22.59 kB / 0.9587 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005862/0.9352, allocations: 307.1 kB / 0.959 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.9353, allocations: 15.97 kB / 0.959 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.9353, allocations: 18.62 kB / 0.959 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.9355, allocations: 157.3 kB / 0.9592 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.9356, allocations: 3.938 kB / 0.9592 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.9356, allocations: 6.281 kB / 0.9592 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.9356, allocations: 3.094 kB / 0.9592 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.9357, allocations: 66.19 kB / 0.9592 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.9363, allocations: 0.7637 MB / 0.96 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.966e-05/0.9364, allocations: 55.98 kB / 0.96 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.9365, allocations: 21.59 kB / 0.9601 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.9365, allocations: 0 / 0.9601 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.9367, allocations: 105.9 kB / 0.9602 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 2.094e-06/0.9367, allocations: 3.984 kB / 0.9602 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002659/0.9369, allocations: 129.8 kB / 0.9603 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.937, allocations: 79.86 kB / 0.9604 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.9372, allocations: 212.1 kB / 0.9606 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.9372, allocations: 33.83 kB / 0.9606 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/0.9373, allocations: 137.5 kB / 0.9607 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.9373, allocations: 26.47 kB / 0.9608 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.9374, allocations: 34.08 kB / 0.9608 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.651e-05/0.9375, allocations: 330.9 kB / 0.9611 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.9376, allocations: 64.95 kB / 0.9612 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.9378, allocations: 125.2 kB / 0.9613 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.9379, allocations: 185 kB / 0.9615 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.938, allocations: 1.344 kB / 0.9615 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004622/0.9384, allocations: 299.1 kB / 0.9618 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.901e-05/0.9385, allocations: 64.2 kB / 0.9618 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.9385, allocations: 2.719 kB / 0.9618 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.9385, allocations: 2.312 kB / 0.9618 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.646e-05/0.9386, allocations: 15.34 kB / 0.9618 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.9386, allocations: 3.125 kB / 0.9618 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.939, allocations: 73.94 kB / 0.9619 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.939, allocations: 14.58 kB / 0.9619 GB, free: 1.953 MB / 0.7169 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,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.9392, allocations: 153.6 kB / 0.9621 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.9392, allocations: 13.66 kB / 0.9621 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.9392, allocations: 21.95 kB / 0.9621 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.9392, allocations: 1.531 kB / 0.9621 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.9393, allocations: 0.7812 kB / 0.9621 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.9393, allocations: 4.688 kB / 0.9621 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.9395, allocations: 233.8 kB / 0.9623 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.9395, allocations: 1.031 kB / 0.9623 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.9395, allocations: 7.656 kB / 0.9623 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.9395, allocations: 1.125 kB / 0.9623 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.9395, allocations: 12.89 kB / 0.9624 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9395, allocations: 1.031 kB / 0.9624 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9395, allocations: 1.094 kB / 0.9624 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.9397, allocations: 133 kB / 0.9625 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.453e-05/0.9397, allocations: 88.89 kB / 0.9626 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.9398, allocations: 9.219 kB / 0.9626 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.972e-05/0.9398, allocations: 5.031 kB / 0.9626 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.9399, allocations: 7.609 kB / 0.9626 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.9399, allocations: 3.844 kB / 0.9626 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001197/0.94, allocations: 144.9 kB / 0.9627 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.94, allocations: 0 / 0.9627 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002874/0.9403, allocations: 49.92 kB / 0.9628 GB, free: 1.184 MB / 0.7169 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 (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.000179/0.9405, allocations: 114 kB / 0.9629 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003876/0.9409, allocations: 251.1 kB / 0.9631 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.9409, allocations: 1 kB / 0.9631 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/0.941, allocations: 35.05 kB / 0.9632 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.9413, allocations: 44.73 kB / 0.9632 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005663/0.9419, allocations: 356.5 kB / 0.9635 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.9421, allocations: 0.7312 MB / 0.9643 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.102e-05/0.9422, allocations: 29.14 kB / 0.9643 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.9423, allocations: 16.44 kB / 0.9643 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.9423, allocations: 0 / 0.9643 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of Templates: time 0.006048/0.9483, allocations: 2.265 MB / 0.9665 GB, free: 14.69 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches