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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001158/0.001158, allocations: 104.2 kB / 16.27 MB, free: 6.414 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.00121/0.00121, allocations: 191 kB / 17.2 MB, free: 5.953 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.602/2.602, allocations: 469.4 MB / 0.7426 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001303, allocations: 64.81 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3403, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002294/0.3426, allocations: 0.8533 MB / 1.065 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.3445, allocations: 1.303 MB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.324e-05/0.3446, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.3448, allocations: 19.8 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.3449, allocations: 27.72 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007955/0.3457, allocations: 257.1 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003967/0.3461, allocations: 339.4 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.3463, allocations: 61.45 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.3465, allocations: 123.7 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.3468, allocations: 123.6 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.048e-05/0.3469, allocations: 28 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.347, allocations: 51.98 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.3471, allocations: 43.78 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.3472, allocations: 119.5 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003655/0.3476, allocations: 327.2 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3476, allocations: 3.938 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3476, allocations: 0 / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.3476, allocations: 0 / 1.068 GB, free: 11.34 MB / 0.8419 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.0007369/0.3484, allocations: 0.537 MB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3484, allocations: 12.62 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.309e-05/0.3485, allocations: 24.75 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006916/0.3492, allocations: 296 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.3492, allocations: 16.38 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.3493, allocations: 24.31 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.3495, allocations: 137.6 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3495, allocations: 11.94 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.3496, allocations: 4 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3496, allocations: 7.938 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.3497, allocations: 67.89 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008063/0.3505, allocations: 0.7468 MB / 1.07 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.3506, allocations: 61.17 kB / 1.07 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.884e-05/0.3507, allocations: 25.78 kB / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.3507, allocations: 0 / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.3509, allocations: 112.9 kB / 1.07 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3509, allocations: 0 / 1.07 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.000285/0.3512, allocations: 125.8 kB / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.3513, allocations: 81.11 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.3515, allocations: 215.6 kB / 1.07 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.3515, allocations: 33.7 kB / 1.07 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3516, allocations: 139.8 kB / 1.07 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.3516, allocations: 15.81 kB / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3518, allocations: 61.67 kB / 1.07 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3519, allocations: 322.8 kB / 1.071 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.352, allocations: 67.95 kB / 1.071 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.3522, allocations: 120.5 kB / 1.071 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.3525, allocations: 198.1 kB / 1.071 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3525, allocations: 4 kB / 1.071 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004817/0.353, allocations: 292.6 kB / 1.071 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/0.353, allocations: 69.42 kB / 1.071 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3531, allocations: 4.188 kB / 1.072 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3531, allocations: 4.094 kB / 1.072 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.476e-05/0.3531, allocations: 12 kB / 1.072 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.3532, allocations: 7.922 kB / 1.072 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.3535, allocations: 63.72 kB / 1.072 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.3535, allocations: 15.98 kB / 1.072 GB, free: 7.09 MB / 0.8419 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.0001497/0.3537, allocations: 150.4 kB / 1.072 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.3537, allocations: 19.8 kB / 1.072 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.3538, allocations: 12.94 kB / 1.072 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.3538, allocations: 0 / 1.072 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3538, allocations: 3.938 kB / 1.072 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3538, allocations: 4 kB / 1.072 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.354, allocations: 237.5 kB / 1.072 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.354, allocations: 0 / 1.072 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.3541, allocations: 7.984 kB / 1.072 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3541, allocations: 4 kB / 1.072 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3541, allocations: 0 / 1.072 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.3541, allocations: 7.938 kB / 1.072 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3541, allocations: 0 / 1.072 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.3543, allocations: 133.7 kB / 1.072 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.3543, allocations: 88.92 kB / 1.072 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.3544, allocations: 3.984 kB / 1.072 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.961e-05/0.3544, allocations: 4 kB / 1.072 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.3544, allocations: 8 kB / 1.072 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.3544, allocations: 4 kB / 1.072 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001249/0.3546, allocations: 153.5 kB / 1.072 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3546, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000269/0.3549, allocations: 35.94 kB / 1.072 GB, free: 6.133 MB / 0.8419 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.0001605/0.355, allocations: 111.7 kB / 1.073 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003779/0.3554, allocations: 266.7 kB / 1.073 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3554, allocations: 0 / 1.073 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.356e-05/0.3555, allocations: 35.92 kB / 1.073 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3558, allocations: 39.86 kB / 1.073 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.3564, allocations: 338.8 kB / 1.073 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.3567, allocations: 0.7241 MB / 1.074 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.3567, allocations: 19.44 kB / 1.074 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3567, allocations: 0 / 1.074 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of Templates: time 0.004702/0.3614, allocations: 2.486 MB / 1.076 GB, free: 2.062 MB / 0.8419 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