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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001701/0.001701, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002448/0.002448, allocations: 192.9 kB / 16.13 MB, free: 6.652 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.458/1.458, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.2 MB / 0.6642 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.91 kB / 0.8119 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8485/0.8499, allocations: 140.4 MB / 0.9489 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002389/0.8524, allocations: 0.9283 MB / 0.9498 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.8543, allocations: 1.328 MB / 0.9511 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.8544, allocations: 1.375 kB / 0.9511 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.8546, allocations: 9.25 kB / 0.9511 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.557e-05/0.8547, allocations: 23.97 kB / 0.9512 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007993/0.8555, allocations: 243.5 kB / 0.9514 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000341/0.8559, allocations: 285.3 kB / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.8561, allocations: 65.59 kB / 0.9517 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.8563, allocations: 111.4 kB / 0.9518 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.8566, allocations: 114.2 kB / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.601e-05/0.8567, allocations: 13.12 kB / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.8568, allocations: 27.55 kB / 0.952 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.856e-05/0.8569, allocations: 38.36 kB / 0.952 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.8571, allocations: 105.3 kB / 0.9521 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.8574, allocations: 309.2 kB / 0.9524 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.8575, allocations: 5.125 kB / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8575, allocations: 0 / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.8575, allocations: 0 / 0.9524 GB, free: 6.535 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.0007736/0.8583, allocations: 0.5355 MB / 0.953 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.8583, allocations: 9.5 kB / 0.953 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.798e-05/0.8584, allocations: 26.75 kB / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006631/0.8591, allocations: 305.2 kB / 0.9533 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.8591, allocations: 17.03 kB / 0.9533 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.8592, allocations: 17.84 kB / 0.9533 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.8594, allocations: 156.6 kB / 0.9535 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.8594, allocations: 1.281 kB / 0.9535 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.8594, allocations: 1.469 kB / 0.9535 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.8595, allocations: 2.438 kB / 0.9535 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.8596, allocations: 69.95 kB / 0.9535 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007494/0.8603, allocations: 0.7569 MB / 0.9543 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.113e-05/0.8604, allocations: 59.67 kB / 0.9543 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.8605, allocations: 21.38 kB / 0.9543 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.8605, allocations: 1.156 kB / 0.9543 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.8607, allocations: 105.3 kB / 0.9544 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.8607, allocations: 0 / 0.9544 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003086/0.861, allocations: 130.1 kB / 0.9546 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.861, allocations: 79.64 kB / 0.9546 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.8612, allocations: 215.5 kB / 0.9549 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.8613, allocations: 29.83 kB / 0.9549 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.61e-05/0.8614, allocations: 145.2 kB / 0.955 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.8614, allocations: 19.81 kB / 0.955 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.8615, allocations: 62.14 kB / 0.9551 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.63e-05/0.8616, allocations: 330.4 kB / 0.9554 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.8617, allocations: 69.08 kB / 0.9555 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.8619, allocations: 121.2 kB / 0.9556 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.8621, allocations: 194.3 kB / 0.9558 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8621, allocations: 4 kB / 0.9558 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004697/0.8626, allocations: 291.5 kB / 0.9561 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/0.8626, allocations: 64.42 kB / 0.9561 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.8626, allocations: 2.469 kB / 0.9561 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.8626, allocations: 2.562 kB / 0.9561 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.8627, allocations: 11.53 kB / 0.9561 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.8627, allocations: 2.438 kB / 0.9561 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.8631, allocations: 60.44 kB / 0.9562 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.8631, allocations: 14.36 kB / 0.9562 GB, free: 3.121 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.0001316/0.8633, allocations: 149.3 kB / 0.9564 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.8633, allocations: 14.72 kB / 0.9564 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.8633, allocations: 19.64 kB / 0.9564 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.8633, allocations: 4 kB / 0.9564 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.8633, allocations: 6.438 kB / 0.9564 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.8634, allocations: 0 / 0.9564 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.8635, allocations: 237.8 kB / 0.9566 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8635, allocations: 0 / 0.9566 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.8636, allocations: 3.5 kB / 0.9566 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.8636, allocations: 3.531 kB / 0.9566 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.8636, allocations: 3.984 kB / 0.9566 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.8636, allocations: 0 / 0.9566 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8636, allocations: 0 / 0.9566 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.8637, allocations: 138 kB / 0.9568 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.8638, allocations: 88.27 kB / 0.9569 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.8638, allocations: 5.125 kB / 0.9569 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.403e-05/0.8639, allocations: 9.172 kB / 0.9569 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.8639, allocations: 8.469 kB / 0.9569 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.8639, allocations: 6.281 kB / 0.9569 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001089/0.864, allocations: 149.6 kB / 0.957 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.71e-07/0.864, allocations: 4 kB / 0.957 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002884/0.8643, allocations: 50.06 kB / 0.9571 GB, free: 2.348 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.0001427/0.8645, allocations: 109.8 kB / 0.9572 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.8648, allocations: 255.5 kB / 0.9574 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8648, allocations: 3.938 kB / 0.9574 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.317e-05/0.8649, allocations: 26.94 kB / 0.9575 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.8652, allocations: 41.14 kB / 0.9575 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004976/0.8657, allocations: 345.6 kB / 0.9578 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.8659, allocations: 0.7269 MB / 0.9585 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.704e-05/0.866, allocations: 22.3 kB / 0.9586 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.866, allocations: 20.34 kB / 0.9586 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.866, allocations: 0 / 0.9586 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of Templates: time 0.006108/0.8721, allocations: 2.274 MB / 0.9608 GB, free: 15.87 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/jenkins/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