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.008694/0.008694, allocations: 102 kB / 15.73 MB, free: 6.039 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.001793/0.001793, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.49/2.49, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.48 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3086, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002213/0.3109, allocations: 0.8722 MB / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.3128, allocations: 1.293 MB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.897e-05/0.3129, allocations: 4 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.3131, allocations: 15.75 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.587e-05/0.3132, allocations: 35.72 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008788/0.3141, allocations: 262.1 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004677/0.3146, allocations: 339.4 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.3148, allocations: 68.27 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.315, allocations: 127.7 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.3152, allocations: 107.6 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.115e-05/0.3153, allocations: 32 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.3154, allocations: 51.98 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.99e-05/0.3155, allocations: 43.84 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.3157, allocations: 127.4 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.3161, allocations: 339 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3161, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.837e-06/0.3162, allocations: 4 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.3162, allocations: 3.938 kB / 1.091 GB, free: 14.26 MB / 0.8575 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.0009606/0.3171, allocations: 0.5418 MB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.3172, allocations: 12.03 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.456e-05/0.3173, allocations: 46.73 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.3174, allocations: 24.75 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007343/0.3181, allocations: 303.7 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.3182, allocations: 16.31 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/0.3183, allocations: 28.11 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.3185, allocations: 149 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3186, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.3186, allocations: 8 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.3186, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.3188, allocations: 67.89 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009574/0.3197, allocations: 0.7584 MB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.3199, allocations: 57.23 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.3199, allocations: 25.78 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.3199, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.3202, allocations: 108.9 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.3202, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0003319/0.3205, allocations: 125.4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.3206, allocations: 85.05 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.3208, allocations: 211.7 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.3209, allocations: 29.7 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.321, allocations: 148.1 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.321, allocations: 15.81 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.3211, allocations: 69.67 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3213, allocations: 330.8 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.3214, allocations: 63.97 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.3216, allocations: 128.5 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.3219, allocations: 194.2 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3219, allocations: 0 / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004943/0.3224, allocations: 300.6 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.624e-05/0.3225, allocations: 64.95 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.3225, allocations: 4 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3225, allocations: 4 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.3226, allocations: 8 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3226, allocations: 7.938 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.323, allocations: 75.95 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.3231, allocations: 19.98 kB / 1.095 GB, free: 9.895 MB / 0.8575 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.000156/0.3232, allocations: 143.8 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.3233, allocations: 15.81 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.3233, allocations: 24.92 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3233, allocations: 0 / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3233, allocations: 0 / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3233, allocations: 0 / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.3235, allocations: 233.5 kB / 1.095 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3236, allocations: 0 / 1.095 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.3236, allocations: 11.94 kB / 1.095 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3236, allocations: 4 kB / 1.095 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3236, allocations: 480 / 1.095 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.3236, allocations: 3.984 kB / 1.095 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.3236, allocations: 4 kB / 1.095 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.3238, allocations: 133.7 kB / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.3239, allocations: 100.8 kB / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.3239, allocations: 7.938 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.101e-05/0.324, allocations: 0 / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.324, allocations: 7.984 kB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.324, allocations: 8 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001371/0.3242, allocations: 157.3 kB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3242, allocations: 0 / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002881/0.3245, allocations: 43.98 kB / 1.096 GB, free: 8.922 MB / 0.8575 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.0005645/0.325, allocations: 0.6717 MB / 1.096 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003977/0.3255, allocations: 266.6 kB / 1.097 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3255, allocations: 0 / 1.097 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.637e-05/0.3255, allocations: 27.98 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.3258, allocations: 32.03 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.3286, allocations: 2.177 MB / 1.099 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.329, allocations: 0.7319 MB / 1.1 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.663e-05/0.3291, allocations: 21.53 kB / 1.1 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.696e-05/0.3292, allocations: 51.42 kB / 1.1 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3292, allocations: 0 / 1.1 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.3531, allocations: 4.377 MB / 1.104 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.352, allocations: 15.69 kB / 1.104 GB, free: 0.4922 MB / 0.8575 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