Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001474/0.001474, allocations: 105.6 kB / 16.41 MB, free: 6.465 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.001523/0.001523, allocations: 187 kB / 17.34 MB, free: 5.719 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.489/1.489, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.521/2.521, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 59.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8478/0.8493, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00217/0.8515, allocations: 0.8916 MB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.8533, allocations: 1.296 MB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.8534, allocations: 0 / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.8536, allocations: 15.81 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.8537, allocations: 39.7 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008374/0.8546, allocations: 257.2 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.855, allocations: 355.2 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.8552, allocations: 53.47 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.8554, allocations: 135.7 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.8556, allocations: 99.69 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.532e-05/0.8557, allocations: 36 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.8558, allocations: 51.92 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.49e-05/0.8559, allocations: 43.91 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.8561, allocations: 123.4 kB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.8565, allocations: 346.5 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.8565, allocations: 0 / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8565, allocations: 0 / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.8565, allocations: 0 / 1.171 GB, free: 128 kB / 0.8887 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.0007953/0.8573, allocations: 0.5471 MB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.8574, allocations: 12.92 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.8575, allocations: 24.69 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006669/0.8582, allocations: 301.5 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.8582, allocations: 12.38 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.8582, allocations: 20.38 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.8585, allocations: 149.6 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.8585, allocations: 7.938 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.8585, allocations: 3.984 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.8585, allocations: 7.984 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.8587, allocations: 63.91 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008612/0.8595, allocations: 0.7507 MB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.607e-05/0.8596, allocations: 61.17 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.8597, allocations: 25.77 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.8597, allocations: 7.938 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.8599, allocations: 104.9 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.8599, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0003046/0.8603, allocations: 121.5 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.8603, allocations: 89.03 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.8606, allocations: 211.7 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.8606, allocations: 33.7 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.8607, allocations: 144.1 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.8607, allocations: 19.75 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.8609, allocations: 69.67 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.861, allocations: 322.8 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.8612, allocations: 71.89 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.8613, allocations: 128.5 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.8616, allocations: 202.1 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8616, allocations: 0 / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005044/0.8621, allocations: 296.6 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-05/0.8622, allocations: 63.39 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.8622, allocations: 4 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.8622, allocations: 0 / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.966e-05/0.8623, allocations: 12.19 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.8623, allocations: 7.984 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/0.8627, allocations: 67.83 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.8628, allocations: 19.94 kB / 1.175 GB, free: 11.81 MB / 0.9044 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.0001558/0.8629, allocations: 150.3 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.863, allocations: 19.81 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.863, allocations: 16.94 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.863, allocations: 0 / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.863, allocations: 0 / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.863, allocations: 4 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.8632, allocations: 233.5 kB / 1.175 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8633, allocations: 0 / 1.175 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.8633, allocations: 7.984 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.8633, allocations: 0 / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.8633, allocations: 4 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.8633, allocations: 11.94 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.8633, allocations: 4 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.8635, allocations: 133.7 kB / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.8636, allocations: 93.39 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.8636, allocations: 3.984 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.172e-05/0.8636, allocations: 0 / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.8637, allocations: 8 kB / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.8637, allocations: 15.92 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001142/0.8638, allocations: 140.2 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8638, allocations: 0 / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002899/0.8641, allocations: 43.94 kB / 1.176 GB, free: 10.84 MB / 0.9044 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.0001741/0.8643, allocations: 117.4 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004085/0.8647, allocations: 258.9 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8647, allocations: 4.125 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.48e-05/0.8648, allocations: 39.92 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.8651, allocations: 35.91 kB / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.8657, allocations: 330.4 kB / 1.176 GB, free: 10 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.866, allocations: 0.7319 MB / 1.177 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.866, allocations: 15.44 kB / 1.177 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.866, allocations: 0 / 1.177 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of Templates: time 0.004768/0.8708, allocations: 2.603 MB / 1.18 GB, free: 6.66 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches