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.001611/0.001611, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001795/0.001795, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.531/2.531, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7527/0.754, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001952/0.756, allocations: 0.8802 MB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.7577, allocations: 1.287 MB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/0.7578, allocations: 8 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.758, allocations: 15.8 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.827e-05/0.758, allocations: 31.72 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007574/0.7588, allocations: 265.9 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000399/0.7592, allocations: 343.4 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.7594, allocations: 61.42 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.7596, allocations: 131.7 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.7598, allocations: 107.7 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.412e-05/0.7599, allocations: 32 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.76, allocations: 51.98 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.7601, allocations: 47.78 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.7602, allocations: 119.5 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.7606, allocations: 354.4 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7606, allocations: 0 / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7606, allocations: 0 / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.7606, allocations: 0 / 1.212 GB, free: 9.914 MB / 0.9356 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.0006923/0.7613, allocations: 0.5431 MB / 1.213 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.7613, allocations: 8.031 kB / 1.213 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.157e-05/0.7614, allocations: 28.75 kB / 1.213 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006117/0.762, allocations: 303.9 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.7621, allocations: 16.36 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.7621, allocations: 12.38 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.7624, allocations: 153.6 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.7624, allocations: 3.938 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.7624, allocations: 4 kB / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.7624, allocations: 4 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.7626, allocations: 67.89 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007767/0.7633, allocations: 0.7545 MB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.072e-05/0.7634, allocations: 65.17 kB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.7635, allocations: 21.78 kB / 1.214 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.7635, allocations: 0 / 1.214 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.7637, allocations: 101 kB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.7637, allocations: 0 / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0002823/0.764, allocations: 133.3 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.7641, allocations: 85.09 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.7643, allocations: 211.7 kB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.7643, allocations: 37.7 kB / 1.214 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.7645, allocations: 140.2 kB / 1.215 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.7645, allocations: 19.73 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.7646, allocations: 61.69 kB / 1.215 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.7647, allocations: 330.8 kB / 1.215 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.7649, allocations: 63.97 kB / 1.215 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.7651, allocations: 140.4 kB / 1.215 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.7653, allocations: 198.2 kB / 1.215 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7653, allocations: 0 / 1.215 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004567/0.7658, allocations: 296.6 kB / 1.216 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.357e-05/0.7658, allocations: 65.42 kB / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.7658, allocations: 0 / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.7659, allocations: 4 kB / 1.216 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.225e-05/0.7659, allocations: 12.12 kB / 1.216 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.7659, allocations: 8 kB / 1.216 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.7664, allocations: 67.83 kB / 1.216 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.7664, allocations: 16.45 kB / 1.216 GB, free: 5.609 MB / 0.9356 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.0001585/0.7666, allocations: 150.6 kB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.7666, allocations: 19.81 kB / 1.216 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.7667, allocations: 20.91 kB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.7667, allocations: 4 kB / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7667, allocations: 0 / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7667, allocations: 0 / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.7669, allocations: 237.5 kB / 1.216 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.7669, allocations: 0 / 1.216 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.707e-05/0.7669, allocations: 7.938 kB / 1.216 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.7669, allocations: 0 / 1.216 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.7669, allocations: 4 kB / 1.216 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.7669, allocations: 3.984 kB / 1.216 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.767, allocations: 4 kB / 1.216 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.7671, allocations: 133.7 kB / 1.216 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.7672, allocations: 88.92 kB / 1.217 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.7672, allocations: 4 kB / 1.217 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-05/0.7672, allocations: 4 kB / 1.217 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.7673, allocations: 15.92 kB / 1.217 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.7673, allocations: 4 kB / 1.217 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001111/0.7674, allocations: 141.5 kB / 1.217 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7674, allocations: 0 / 1.217 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002775/0.7677, allocations: 59.77 kB / 1.217 GB, free: 4.625 MB / 0.9356 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.0001535/0.7679, allocations: 107.2 kB / 1.217 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.7682, allocations: 262.6 kB / 1.217 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.7682, allocations: 4.375 kB / 1.217 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.158e-05/0.7683, allocations: 35.92 kB / 1.217 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.7686, allocations: 35.91 kB / 1.217 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.7691, allocations: 330.5 kB / 1.217 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.7694, allocations: 0.7241 MB / 1.218 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.7695, allocations: 23.42 kB / 1.218 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.7695, allocations: 3.938 kB / 1.218 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of Templates: time 0.004461/0.774, allocations: 2.593 MB / 1.221 GB, free: 472 kB / 0.9356 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