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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_9_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.001856/0.001856, allocations: 108 kB / 15.6 MB, free: 132 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.002119/0.002119, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.32/2.32, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 71.88 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8178/0.8202, allocations: 140.4 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002275/0.8225, allocations: 0.8642 MB / 0.9506 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.8242, allocations: 1.301 MB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.944e-05/0.8242, allocations: 1.625 kB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.8244, allocations: 17.39 kB / 0.9519 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.488e-05/0.8245, allocations: 30.28 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007693/0.8252, allocations: 254.5 kB / 0.9521 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.8257, allocations: 337.5 kB / 0.9525 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.8259, allocations: 64.03 kB / 0.9525 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.8261, allocations: 130.9 kB / 0.9526 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.8264, allocations: 120.4 kB / 0.9528 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.458e-05/0.8264, allocations: 29.06 kB / 0.9528 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.8265, allocations: 43.2 kB / 0.9528 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.8266, allocations: 46.7 kB / 0.9529 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.8267, allocations: 116.4 kB / 0.953 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.8271, allocations: 327.8 kB / 0.9533 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8271, allocations: 1.344 kB / 0.9533 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8271, allocations: 0 / 0.9533 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.8271, allocations: 0 / 0.9533 GB, free: 6.457 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.0005936/0.8277, allocations: 0.5437 MB / 0.9538 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.8277, allocations: 9.312 kB / 0.9538 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.8278, allocations: 46.61 kB / 0.9539 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.8279, allocations: 27.16 kB / 0.9539 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/0.8286, allocations: 296.4 kB / 0.9542 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.8286, allocations: 17.23 kB / 0.9542 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/0.8286, allocations: 22 kB / 0.9542 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.8289, allocations: 152.7 kB / 0.9544 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.8289, allocations: 4.953 kB / 0.9544 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.8289, allocations: 5.219 kB / 0.9544 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.8289, allocations: 3 kB / 0.9544 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.829, allocations: 69.8 kB / 0.9545 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/0.8297, allocations: 0.7537 MB / 0.9552 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.385e-05/0.8298, allocations: 54.91 kB / 0.9552 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.8299, allocations: 25.64 kB / 0.9553 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.8299, allocations: 5 kB / 0.9553 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.8301, allocations: 105.6 kB / 0.9554 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.8301, allocations: 0 / 0.9554 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002849/0.8304, allocations: 124.9 kB / 0.9555 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.8305, allocations: 79.42 kB / 0.9556 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.8307, allocations: 209.3 kB / 0.9558 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.8307, allocations: 33.14 kB / 0.9558 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.156e-05/0.8308, allocations: 149.4 kB / 0.9559 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.8308, allocations: 11.16 kB / 0.9559 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.8309, allocations: 74.7 kB / 0.956 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.397e-05/0.831, allocations: 330.3 kB / 0.9563 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.8311, allocations: 70.86 kB / 0.9564 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.8313, allocations: 118.8 kB / 0.9565 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.8315, allocations: 185.5 kB / 0.9567 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.8315, allocations: 5.594 kB / 0.9567 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004314/0.8319, allocations: 295.1 kB / 0.957 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.832, allocations: 68.61 kB / 0.957 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.832, allocations: 1.812 kB / 0.957 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.832, allocations: 1.781 kB / 0.957 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/0.8321, allocations: 12.97 kB / 0.9571 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.8321, allocations: 1.781 kB / 0.9571 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.8325, allocations: 57.62 kB / 0.9571 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.8325, allocations: 13.64 kB / 0.9571 GB, free: 2.988 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.0001272/0.8326, allocations: 150 kB / 0.9573 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.8327, allocations: 18.62 kB / 0.9573 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.8327, allocations: 18.42 kB / 0.9573 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.8327, allocations: 1.375 kB / 0.9573 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.8327, allocations: 1.375 kB / 0.9573 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.8327, allocations: 4 kB / 0.9573 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.8329, allocations: 237.3 kB / 0.9575 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.8329, allocations: 1.375 kB / 0.9575 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.833, allocations: 8.125 kB / 0.9576 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.833, allocations: 0 / 0.9576 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.833, allocations: 5.828 kB / 0.9576 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.833, allocations: 1.375 kB / 0.9576 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.833, allocations: 1.375 kB / 0.9576 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.8331, allocations: 140.3 kB / 0.9577 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.8332, allocations: 93.03 kB / 0.9578 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.8332, allocations: 1.375 kB / 0.9578 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.204e-05/0.8333, allocations: 1.375 kB / 0.9578 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.8333, allocations: 12.11 kB / 0.9578 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.8333, allocations: 2.75 kB / 0.9578 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.951e-05/0.8334, allocations: 144.3 kB / 0.9579 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8334, allocations: 7.875 kB / 0.9579 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002983/0.8337, allocations: 54.27 kB / 0.958 GB, free: 2.211 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.0003821/0.8341, allocations: 0.6815 MB / 0.9587 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.8345, allocations: 256.4 kB / 0.9589 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8345, allocations: 4.125 kB / 0.9589 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.017e-05/0.8346, allocations: 35.23 kB / 0.9589 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.8349, allocations: 36.47 kB / 0.959 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.8374, allocations: 2.154 MB / 0.9611 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.8378, allocations: 0.727 MB / 0.9618 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.764e-05/0.8379, allocations: 22.17 kB / 0.9618 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-05/0.838, allocations: 56.05 kB / 0.9619 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.838, allocations: 0 / 0.9619 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.8633, allocations: 4.161 MB / 0.9659 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/8.635, allocations: 5.062 kB / 0.9659 GB, free: 12.69 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.csv","/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