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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001631/0.001631, allocations: 114.6 kB / 16.37 MB, free: 6.012 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.001916/0.001917, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.501/1.501, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.483/2.483, allocations: 437.1 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 68 kB / 0.8707 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3119, allocations: 151.6 MB / 1.019 GB, free: 9.801 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002286/0.3142, allocations: 0.8759 MB / 1.02 GB, free: 8.922 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.3161, allocations: 1.301 MB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.468e-05/0.3162, allocations: 7.938 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.3163, allocations: 15.8 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.26e-05/0.3164, allocations: 23.8 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008394/0.3172, allocations: 267.6 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.3176, allocations: 339.4 kB / 1.022 GB, free: 6.973 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.3178, allocations: 73.38 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.318, allocations: 127.7 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.3182, allocations: 111.5 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.001e-05/0.3183, allocations: 32 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3184, allocations: 47.98 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.525e-05/0.3184, allocations: 43.84 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.3186, allocations: 119.5 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.319, allocations: 354.8 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.319, allocations: 0 / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.542e-06/0.319, allocations: 8 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.319, allocations: 0 / 1.022 GB, free: 6.066 MB / 0.795 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.0007312/0.3197, allocations: 0.5409 MB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3198, allocations: 12.92 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.058e-05/0.3199, allocations: 24.66 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006554/0.3205, allocations: 301.5 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.3206, allocations: 16.38 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.3206, allocations: 20.38 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.3209, allocations: 152.4 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3209, allocations: 7.875 kB / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.3209, allocations: 8 kB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3209, allocations: 0 / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.3211, allocations: 63.91 kB / 1.024 GB, free: 4.816 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.3219, allocations: 0.7547 MB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.616e-05/0.322, allocations: 57.14 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.322, allocations: 33.66 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.3221, allocations: 0 / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.3223, allocations: 101 kB / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.3223, allocations: 0 / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.000336/0.3226, allocations: 137.8 kB / 1.025 GB, free: 3.629 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.3227, allocations: 77.11 kB / 1.025 GB, free: 3.535 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.3229, allocations: 219.5 kB / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.3229, allocations: 33.7 kB / 1.025 GB, free: 3.266 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.3231, allocations: 140.2 kB / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.3231, allocations: 11.81 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.3232, allocations: 65.67 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3234, allocations: 334.8 kB / 1.025 GB, free: 2.707 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.3235, allocations: 67.97 kB / 1.025 GB, free: 2.641 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.3238, allocations: 136.5 kB / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.3241, allocations: 198.1 kB / 1.026 GB, free: 2.246 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3241, allocations: 0 / 1.026 GB, free: 2.246 MB / 0.795 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004807/0.3246, allocations: 292.8 kB / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.621e-05/0.3246, allocations: 67.42 kB / 1.026 GB, free: 1.863 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3246, allocations: 4 kB / 1.026 GB, free: 1.859 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3247, allocations: 3.938 kB / 1.026 GB, free: 1.855 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.235e-05/0.3247, allocations: 8 kB / 1.026 GB, free: 1.848 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3247, allocations: 4 kB / 1.026 GB, free: 1.844 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.3251, allocations: 67.86 kB / 1.026 GB, free: 1.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.3252, allocations: 23.98 kB / 1.026 GB, free: 1.754 MB / 0.795 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.0002113/0.3254, allocations: 145.7 kB / 1.026 GB, free: 1.602 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.3254, allocations: 15.81 kB / 1.026 GB, free: 1.586 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.3255, allocations: 20.86 kB / 1.026 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3255, allocations: 4 kB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3255, allocations: 0 / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3255, allocations: 0 / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.3257, allocations: 241.4 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3257, allocations: 4 kB / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.3258, allocations: 8 kB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3258, allocations: 4 kB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.3258, allocations: 0 / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3258, allocations: 0 / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3258, allocations: 0 / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.326, allocations: 137.7 kB / 1.027 GB, free: 1.109 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.3261, allocations: 88.92 kB / 1.027 GB, free: 1.004 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.3261, allocations: 8 kB / 1.027 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.066e-05/0.3261, allocations: 0 / 1.027 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.3262, allocations: 15.92 kB / 1.027 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.3262, allocations: 4 kB / 1.027 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001529/0.3263, allocations: 136.2 kB / 1.027 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3263, allocations: 0 / 1.027 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002838/0.3266, allocations: 55.84 kB / 1.027 GB, free: 0.7891 MB / 0.795 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.0001734/0.3268, allocations: 124.3 kB / 1.027 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.3272, allocations: 254.6 kB / 1.027 GB, free: 400 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3272, allocations: 0 / 1.027 GB, free: 400 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.942e-05/0.3273, allocations: 31.98 kB / 1.027 GB, free: 368 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.3276, allocations: 40.22 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.3282, allocations: 296.9 kB / 1.028 GB, free: 0 / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.3286, allocations: 0.7246 MB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.832e-05/0.3287, allocations: 21.55 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.3287, allocations: 19.42 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3287, allocations: 4 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of Templates: time 0.006164/0.3349, allocations: 2.536 MB / 1.031 GB, free: 12.71 MB / 0.8106 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 -s gbode -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/jenkins1/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