Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 118.8 kB / 16.37 MB, free: 6.004 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.001461/0.001461, allocations: 192.8 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.374/1.374, 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.533/2.533, allocations: 437.1 MB / 0.7112 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.001611, allocations: 63.84 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.333, allocations: 151.7 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00328/0.3363, allocations: 1.335 MB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002365/0.3387, allocations: 1.561 MB / 1.022 GB, free: 6.969 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.339, allocations: 4 kB / 1.022 GB, free: 6.965 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.3392, allocations: 35.55 kB / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.3395, allocations: 59.44 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.3409, allocations: 0.5105 MB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0009759/0.3419, allocations: 0.6871 MB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003395/0.3422, allocations: 168.8 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003967/0.3426, allocations: 255.4 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.343, allocations: 243.2 kB / 1.024 GB, free: 5.031 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.3432, allocations: 64 kB / 1.024 GB, free: 4.969 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.3434, allocations: 83.92 kB / 1.024 GB, free: 4.887 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.3435, allocations: 83.69 kB / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.3438, allocations: 239 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007303/0.3445, allocations: 0.6892 MB / 1.025 GB, free: 3.879 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3445, allocations: 0 / 1.025 GB, free: 3.879 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3445, allocations: 0 / 1.025 GB, free: 3.879 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.837e-05/0.3445, allocations: 0 / 1.025 GB, free: 3.879 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001608/0.3462, allocations: 0.939 MB / 1.026 GB, free: 2.832 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.3462, allocations: 8.922 kB / 1.026 GB, free: 2.824 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.3464, allocations: 48.47 kB / 1.026 GB, free: 2.777 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.3477, allocations: 479.7 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.146e-05/0.3478, allocations: 24.94 kB / 1.026 GB, free: 2.246 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.3479, allocations: 44.38 kB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000665/0.3486, allocations: 321.3 kB / 1.026 GB, free: 1.883 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.3486, allocations: 7.922 kB / 1.026 GB, free: 1.875 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.3487, allocations: 12 kB / 1.026 GB, free: 1.863 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.3487, allocations: 4 kB / 1.026 GB, free: 1.859 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006404/0.3493, allocations: 254.1 kB / 1.027 GB, free: 1.609 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.3511, allocations: 0.9119 MB / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007111/0.3518, allocations: 374.5 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/0.3524, allocations: 280.9 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.3524, allocations: 4 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005598/0.353, allocations: 323 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 3.897e-06/0.353, allocations: 3.984 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.001512/0.3545, allocations: 0.842 MB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.3546, allocations: 187.9 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.3549, allocations: 284.5 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-05/0.355, allocations: 45.7 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3551, allocations: 172.8 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.3553, allocations: 130.2 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.3556, allocations: 130.1 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3557, allocations: 350.8 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005955/0.3563, allocations: 280.8 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/0.357, allocations: 361.8 kB / 1.031 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.3581, allocations: 0.9128 MB / 1.032 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.3581, allocations: 3.938 kB / 1.032 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001769/0.3599, allocations: 0.9939 MB / 1.033 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.3601, allocations: 263.3 kB / 1.033 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.3601, allocations: 0 / 1.033 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.3602, allocations: 8 kB / 1.033 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.3605, allocations: 59.89 kB / 1.033 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.3605, allocations: 11.94 kB / 1.033 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007185/0.3612, allocations: 139.6 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.3614, allocations: 63.92 kB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003785/0.3617, allocations: 327.6 kB / 1.034 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.3618, allocations: 43.53 kB / 1.034 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.064e-05/0.3619, allocations: 39.48 kB / 1.034 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3619, allocations: 4 kB / 1.034 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.3619, allocations: 0 / 1.034 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.362, allocations: 3.984 kB / 1.034 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.3638, allocations: 1.191 MB / 1.035 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3638, allocations: 4 kB / 1.035 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.3641, allocations: 59.89 kB / 1.035 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.3641, allocations: 8 kB / 1.035 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.3641, allocations: 11.94 kB / 1.035 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.3641, allocations: 4 kB / 1.035 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3641, allocations: 3.938 kB / 1.035 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.3653, allocations: 0.7664 MB / 1.036 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.35e-05/0.3654, allocations: 116.6 kB / 1.036 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.3654, allocations: 11.98 kB / 1.036 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.3657, allocations: 23.97 kB / 1.036 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.3658, allocations: 39.89 kB / 1.036 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.218e-05/0.3659, allocations: 51.88 kB / 1.036 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002013/0.3661, allocations: 199.1 kB / 1.036 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3661, allocations: 0 / 1.036 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004578/0.3665, allocations: 107.9 kB / 1.037 GB, free: 6.91 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0002226/0.3668, allocations: 129.3 kB / 1.037 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.3684, allocations: 1.113 MB / 1.038 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3684, allocations: 0 / 1.038 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000609/0.369, allocations: 0.5202 MB / 1.038 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/0.3695, allocations: 89.03 kB / 1.038 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.3709, allocations: 0.7941 MB / 1.039 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.3714, allocations: 0.7963 MB / 1.04 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002224/0.3716, allocations: 95.19 kB / 1.04 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.3717, allocations: 31.44 kB / 1.04 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of SimCode: time 5.71e-07/0.3717, allocations: 4 kB / 1.04 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of Templates: time 0.01199/0.3837, allocations: 6.548 MB / 1.046 GB, free: 12.64 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches