Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004775/0.004775, allocations: 99.58 kB / 15.73 MB, free: 5.98 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.00135/0.00135, allocations: 194.6 kB / 16.68 MB, free: 5.91 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.706/2.706, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.89 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.802/0.804, allocations: 159.1 MB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002067/0.8061, allocations: 0.8611 MB / 1.221 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.8079, allocations: 1.299 MB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.8079, allocations: 4 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.8081, allocations: 15.75 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.217e-05/0.8081, allocations: 27.78 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007237/0.8089, allocations: 265.3 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000399/0.8093, allocations: 347.4 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.8094, allocations: 61.41 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.8096, allocations: 127.7 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.8098, allocations: 107.7 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.938e-05/0.8099, allocations: 32 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.81, allocations: 55.86 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/0.8101, allocations: 43.89 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.8102, allocations: 119.5 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.8106, allocations: 354.4 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.8106, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8107, allocations: 3.938 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.8107, allocations: 0 / 1.224 GB, free: 14.3 MB / 0.9512 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.0007319/0.8114, allocations: 0.5525 MB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.8115, allocations: 12.03 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.8115, allocations: 46.73 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.93e-05/0.8116, allocations: 24.8 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.8122, allocations: 304 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.8123, allocations: 12.38 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.8123, allocations: 24.36 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.8126, allocations: 154.4 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.8126, allocations: 4 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.8126, allocations: 0 / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.8126, allocations: 4 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.8128, allocations: 67.89 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.8136, allocations: 0.7595 MB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.887e-05/0.8137, allocations: 53.2 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/0.8138, allocations: 25.72 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.8138, allocations: 8 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.814, allocations: 97.08 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.814, allocations: 0 / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0002859/0.8143, allocations: 129.6 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.8143, allocations: 81.11 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.8146, allocations: 219.7 kB / 1.226 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.8146, allocations: 29.7 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.8147, allocations: 144.2 kB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.8148, allocations: 19.89 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.8149, allocations: 65.67 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.8151, allocations: 334.8 kB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.8152, allocations: 71.84 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.8154, allocations: 128.5 kB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.8157, allocations: 198.2 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8157, allocations: 0 / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005008/0.8162, allocations: 292.8 kB / 1.227 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.8163, allocations: 67.39 kB / 1.228 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.8163, allocations: 8.188 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.8163, allocations: 4 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/0.8164, allocations: 7.938 kB / 1.228 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.8164, allocations: 4 kB / 1.228 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.8168, allocations: 71.81 kB / 1.228 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.8168, allocations: 19.92 kB / 1.228 GB, free: 9.914 MB / 0.9512 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.0001546/0.817, allocations: 156.1 kB / 1.228 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.817, allocations: 15.91 kB / 1.228 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.8171, allocations: 20.92 kB / 1.228 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.8171, allocations: 0 / 1.228 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8171, allocations: 0 / 1.228 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.8171, allocations: 4 kB / 1.228 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.8173, allocations: 229.5 kB / 1.228 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8173, allocations: 0 / 1.228 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.8174, allocations: 4 kB / 1.228 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8174, allocations: 4 kB / 1.228 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.8174, allocations: 4 kB / 1.228 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.8174, allocations: 7.984 kB / 1.228 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8174, allocations: 0 / 1.228 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.8176, allocations: 137.7 kB / 1.228 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.8177, allocations: 89.02 kB / 1.228 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.8177, allocations: 8 kB / 1.228 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.8177, allocations: 4 kB / 1.228 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.8178, allocations: 7.984 kB / 1.228 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.8178, allocations: 4 kB / 1.228 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001296/0.8179, allocations: 149.5 kB / 1.228 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.717e-06/0.8179, allocations: 0 / 1.228 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002703/0.8182, allocations: 55.81 kB / 1.229 GB, free: 8.934 MB / 0.9512 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.0005358/0.8188, allocations: 0.684 MB / 1.229 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.8192, allocations: 254.7 kB / 1.229 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8192, allocations: 0 / 1.229 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.184e-05/0.8192, allocations: 31.92 kB / 1.229 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.8195, allocations: 42.66 kB / 1.23 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.8222, allocations: 2.175 MB / 1.232 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.8226, allocations: 0.728 MB / 1.232 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.401e-05/0.8226, allocations: 29.52 kB / 1.232 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.8227, allocations: 51.42 kB / 1.232 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.8227, allocations: 4 kB / 1.232 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.8481, allocations: 4.372 MB / 1.237 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/8.617, allocations: 20.08 kB / 1.237 GB, free: 0.5117 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches