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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001156/0.001156, allocations: 100.1 kB / 15.88 MB, free: 12 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.001337/0.001337, allocations: 200.7 kB / 16.79 MB, free: 6.828 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.383/1.383, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.89 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6087/0.6102, allocations: 140.4 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001907/0.6121, allocations: 0.9313 MB / 0.9505 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.6135, allocations: 1.325 MB / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.277e-05/0.6136, allocations: 2.75 kB / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.6137, allocations: 7.875 kB / 0.9518 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.831e-05/0.6138, allocations: 23.97 kB / 0.9518 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006339/0.6145, allocations: 238.9 kB / 0.9521 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.6147, allocations: 284.9 kB / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.6149, allocations: 69.38 kB / 0.9524 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.615, allocations: 107.3 kB / 0.9525 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.6152, allocations: 117.7 kB / 0.9526 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.6153, allocations: 14.38 kB / 0.9526 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.559e-05/0.6154, allocations: 23.27 kB / 0.9526 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.6155, allocations: 46.33 kB / 0.9527 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.6156, allocations: 96.97 kB / 0.9528 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.6158, allocations: 248.4 kB / 0.953 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6158, allocations: 0 / 0.953 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6158, allocations: 0 / 0.953 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.6158, allocations: 4 kB / 0.953 GB, free: 6.547 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.0005366/0.6163, allocations: 0.5446 MB / 0.9536 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.6164, allocations: 9.375 kB / 0.9536 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.6165, allocations: 26.56 kB / 0.9536 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005787/0.617, allocations: 304.5 kB / 0.9539 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.6171, allocations: 8.938 kB / 0.9539 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.6171, allocations: 26.23 kB / 0.9539 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.6173, allocations: 157 kB / 0.9541 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.6174, allocations: 0 / 0.9541 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.6174, allocations: 6.906 kB / 0.9541 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.6174, allocations: 2.906 kB / 0.9541 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.6175, allocations: 64.95 kB / 0.9541 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/0.6181, allocations: 0.7499 MB / 0.9549 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.112e-05/0.6182, allocations: 63.11 kB / 0.9549 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.6183, allocations: 25.33 kB / 0.955 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.6183, allocations: 1.125 kB / 0.955 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.6185, allocations: 109.3 kB / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.6185, allocations: 0 / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002646/0.6188, allocations: 130 kB / 0.9552 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.6188, allocations: 82.52 kB / 0.9553 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.619, allocations: 209 kB / 0.9555 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.619, allocations: 29.77 kB / 0.9555 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.6191, allocations: 141.7 kB / 0.9556 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.6191, allocations: 22.64 kB / 0.9556 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.725e-05/0.6192, allocations: 66.17 kB / 0.9557 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.778e-05/0.6193, allocations: 331.4 kB / 0.956 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.6194, allocations: 60.56 kB / 0.9561 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.6195, allocations: 116.3 kB / 0.9562 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.6197, allocations: 193.5 kB / 0.9564 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6197, allocations: 1.125 kB / 0.9564 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004218/0.6202, allocations: 303.9 kB / 0.9567 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.6202, allocations: 63.77 kB / 0.9567 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6202, allocations: 2.625 kB / 0.9567 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.6202, allocations: 2.688 kB / 0.9567 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.6203, allocations: 15.38 kB / 0.9567 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.6203, allocations: 2.938 kB / 0.9568 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.6206, allocations: 56.44 kB / 0.9568 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.6207, allocations: 14.61 kB / 0.9568 GB, free: 3.125 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.0001094/0.6208, allocations: 152.3 kB / 0.957 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.6208, allocations: 14.47 kB / 0.957 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.6209, allocations: 22.45 kB / 0.957 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.6209, allocations: 1.312 kB / 0.957 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6209, allocations: 5.5 kB / 0.957 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6209, allocations: 0 / 0.957 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.621, allocations: 229.2 kB / 0.9572 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.621, allocations: 2.5 kB / 0.9572 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.421e-05/0.6211, allocations: 3.312 kB / 0.9572 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6211, allocations: 0 / 0.9572 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.6211, allocations: 7.219 kB / 0.9572 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6211, allocations: 0 / 0.9572 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6211, allocations: 3.938 kB / 0.9572 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.6212, allocations: 143.4 kB / 0.9574 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.6213, allocations: 87.3 kB / 0.9575 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.6213, allocations: 5.156 kB / 0.9575 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.157e-05/0.6213, allocations: 1.188 kB / 0.9575 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.6214, allocations: 6.641 kB / 0.9575 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.6214, allocations: 4.125 kB / 0.9575 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001094/0.6215, allocations: 144.3 kB / 0.9576 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6215, allocations: 3.938 kB / 0.9576 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002663/0.6218, allocations: 59.42 kB / 0.9577 GB, free: 2.355 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.0001132/0.6219, allocations: 111.9 kB / 0.9578 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.6222, allocations: 251.8 kB / 0.958 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6222, allocations: 0 / 0.958 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.172e-05/0.6223, allocations: 35.11 kB / 0.9581 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.6226, allocations: 41.95 kB / 0.9581 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.6231, allocations: 377.8 kB / 0.9585 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.6232, allocations: 0.7272 MB / 0.9592 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.6233, allocations: 15.56 kB / 0.9592 GB, free: 1 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.6233, allocations: 0 / 0.9592 GB, free: 1 MB / 0.7169 GB Notification: Performance of Templates: time 0.004054/0.6273, allocations: 2.468 MB / 0.9616 GB, free: 15.73 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/jenkins1/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