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.001054/0.001054, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 184.2 kB / 16.92 MB, free: 6.684 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.466/1.466, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.77/2.77, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003799, allocations: 9.312 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3328, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001185/0.3341, allocations: 0.5908 MB / 1.06 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.336, allocations: 1.315 MB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.3362, allocations: 0 / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.3363, allocations: 11.86 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.3364, allocations: 27.78 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008462/0.3373, allocations: 249.7 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000351/0.3377, allocations: 283.5 kB / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.3378, allocations: 49.48 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.338, allocations: 111.7 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.3383, allocations: 103.6 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.3384, allocations: 12 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.258e-05/0.3385, allocations: 23.98 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.3386, allocations: 39.84 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.3387, allocations: 117.2 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.339, allocations: 247.6 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.339, allocations: 0 / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.486e-06/0.339, allocations: 0 / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.339, allocations: 3.938 kB / 1.062 GB, free: 1.793 MB / 0.8106 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.0006599/0.3397, allocations: 0.4903 MB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3398, allocations: 11.97 kB / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.488e-05/0.3399, allocations: 36.64 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.3406, allocations: 296 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.3406, allocations: 12.38 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.3407, allocations: 20.38 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.341, allocations: 151.5 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.341, allocations: 3.938 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.341, allocations: 8 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.341, allocations: 7.969 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3412, allocations: 63.91 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008923/0.3421, allocations: 0.7468 MB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3422, allocations: 69.17 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.135e-05/0.3422, allocations: 21.78 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.3422, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.3424, allocations: 105 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.3424, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003076/0.3428, allocations: 129.4 kB / 1.065 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.3428, allocations: 81.11 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.3431, allocations: 219.6 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.3431, allocations: 29.7 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.3432, allocations: 135.8 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.3432, allocations: 19.8 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.356e-05/0.3433, allocations: 37.69 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3434, allocations: 330.8 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.3436, allocations: 67.97 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.3438, allocations: 114.8 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.344, allocations: 202.1 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.344, allocations: 0 / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004942/0.3445, allocations: 300.6 kB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.3446, allocations: 68.83 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3446, allocations: 4 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3446, allocations: 0 / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.547e-05/0.3447, allocations: 8 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3447, allocations: 4 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.3451, allocations: 79.78 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.3451, allocations: 15.98 kB / 1.066 GB, free: 13.58 MB / 0.8262 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.0001544/0.3453, allocations: 149.7 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.3453, allocations: 15.81 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.3454, allocations: 20.92 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3454, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3454, allocations: 4 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3454, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.3456, allocations: 233.5 kB / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3456, allocations: 0 / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/0.3457, allocations: 4 kB / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3457, allocations: 0 / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3457, allocations: 4 kB / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.3457, allocations: 4 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3457, allocations: 7.938 kB / 1.067 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.3459, allocations: 142.2 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.346, allocations: 88.92 kB / 1.067 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.346, allocations: 0 / 1.067 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.111e-05/0.346, allocations: 0 / 1.067 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.3461, allocations: 15.97 kB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.3461, allocations: 4 kB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001496/0.3462, allocations: 153.5 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3463, allocations: 7.875 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003063/0.3466, allocations: 43.84 kB / 1.067 GB, free: 12.61 MB / 0.8262 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.0002406/0.3468, allocations: 111.2 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004291/0.3472, allocations: 250.7 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3473, allocations: 384 / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.942e-05/0.3474, allocations: 39.92 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.3477, allocations: 35.91 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007223/0.3484, allocations: 379.4 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.3488, allocations: 0.7283 MB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.3489, allocations: 19.44 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of SimCode: time 4.4e-07/0.3489, allocations: 0 / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of Templates: time 0.00544/0.3543, allocations: 2.444 MB / 1.071 GB, free: 8.539 MB / 0.8262 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches