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.0009336/0.0009336, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007445/0.007446, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.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.651/2.651, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004117, allocations: 8 kB / 0.8728 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7423/0.7428, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001163/0.744, allocations: 0.5891 MB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.7458, allocations: 1.319 MB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.7458, allocations: 4 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.746, allocations: 11.88 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.217e-05/0.746, allocations: 23.84 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006826/0.7467, allocations: 239 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.747, allocations: 291.4 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.7472, allocations: 53.45 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.7474, allocations: 107.7 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.7476, allocations: 107.6 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.7477, allocations: 12 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.628e-05/0.7477, allocations: 27.92 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.217e-05/0.7478, allocations: 31.91 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.7479, allocations: 125.1 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.7482, allocations: 305 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7483, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.407e-06/0.7483, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.7483, allocations: 3.938 kB / 1.026 GB, free: 12.62 MB / 0.7794 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.0005956/0.7489, allocations: 0.4943 MB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.7489, allocations: 11.97 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/0.749, allocations: 24.75 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006435/0.7497, allocations: 304 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.7497, allocations: 16.36 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.7497, allocations: 16.38 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.75, allocations: 157 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.75, allocations: 3.938 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.75, allocations: 8 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.75, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.7502, allocations: 63.91 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007561/0.7509, allocations: 0.7545 MB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.201e-05/0.751, allocations: 65.17 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.7511, allocations: 25.78 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.7511, allocations: 7.922 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.7513, allocations: 93.03 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.7513, allocations: 0 / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002795/0.7515, allocations: 129.4 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.7516, allocations: 85.11 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.7518, allocations: 208.7 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.7519, allocations: 33.7 kB / 1.029 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.752, allocations: 135.8 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.752, allocations: 23.73 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.7521, allocations: 33.7 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.7522, allocations: 326.8 kB / 1.029 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.7523, allocations: 67.95 kB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.7525, allocations: 118.8 kB / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.7528, allocations: 198.1 kB / 1.029 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7528, allocations: 0 / 1.029 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00047/0.7533, allocations: 292.6 kB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.708e-05/0.7533, allocations: 63.39 kB / 1.03 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.7533, allocations: 4.188 kB / 1.03 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.7533, allocations: 4 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.7534, allocations: 19.94 kB / 1.03 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.7534, allocations: 4 kB / 1.03 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.7538, allocations: 71.84 kB / 1.03 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.7538, allocations: 15.98 kB / 1.03 GB, free: 8.418 MB / 0.7794 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.0001541/0.754, allocations: 154.2 kB / 1.03 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.754, allocations: 15.81 kB / 1.03 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.754, allocations: 20.92 kB / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.7541, allocations: 4 kB / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.7541, allocations: 480 / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.7541, allocations: 4 kB / 1.03 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.7543, allocations: 229.5 kB / 1.03 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7543, allocations: 0 / 1.03 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.7543, allocations: 4 kB / 1.03 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.7543, allocations: 0 / 1.03 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.7543, allocations: 11.92 kB / 1.03 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/0.7544, allocations: 4 kB / 1.03 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7544, allocations: 7.922 kB / 1.03 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.7546, allocations: 137.7 kB / 1.03 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.7546, allocations: 88.92 kB / 1.031 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.7546, allocations: 4 kB / 1.031 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.098e-05/0.7547, allocations: 3.984 kB / 1.031 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.7547, allocations: 4 kB / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.7547, allocations: 4 kB / 1.031 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001245/0.7548, allocations: 156.5 kB / 1.031 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7549, allocations: 0 / 1.031 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002558/0.7551, allocations: 43.84 kB / 1.031 GB, free: 7.445 MB / 0.7794 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.000152/0.7553, allocations: 109.4 kB / 1.031 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003615/0.7556, allocations: 250.8 kB / 1.031 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.7557, allocations: 0 / 1.031 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.769e-05/0.7557, allocations: 36.3 kB / 1.031 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.756, allocations: 39.91 kB / 1.031 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.7566, allocations: 353.4 kB / 1.032 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.7569, allocations: 0.7283 MB / 1.032 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.621e-05/0.7569, allocations: 25.53 kB / 1.032 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.757, allocations: 15.44 kB / 1.032 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.757, allocations: 0 / 1.032 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.005334/0.7623, allocations: 2.271 MB / 1.034 GB, free: 3.578 MB / 0.7794 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/jenkins/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