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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001302/0.001302, allocations: 109.8 kB / 16.27 MB, free: 6.406 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.001285/0.001285, allocations: 192.5 kB / 17.2 MB, free: 5.973 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.456/1.456, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.519/2.519, allocations: 437 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002099, allocations: 64.88 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3211, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002815/0.324, allocations: 1.342 MB / 1.019 GB, free: 9.297 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002268/0.3263, allocations: 1.549 MB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.3264, allocations: 4 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.3266, allocations: 39.48 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.3268, allocations: 67.38 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.328, allocations: 0.4884 MB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007578/0.3288, allocations: 0.6794 MB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000361/0.3291, allocations: 173.1 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/0.3294, allocations: 251.4 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.3297, allocations: 223.1 kB / 1.023 GB, free: 5.828 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.3298, allocations: 64 kB / 1.023 GB, free: 5.766 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.33, allocations: 79.98 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3301, allocations: 75.77 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.3304, allocations: 246.9 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007418/0.3312, allocations: 0.6738 MB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.3312, allocations: 4 kB / 1.024 GB, free: 4.691 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3312, allocations: 0 / 1.024 GB, free: 4.691 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3312, allocations: 0 / 1.024 GB, free: 4.691 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.001386/0.3326, allocations: 0.9273 MB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3326, allocations: 8.922 kB / 1.025 GB, free: 3.648 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.3328, allocations: 64.39 kB / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.3342, allocations: 471.7 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.3343, allocations: 36.92 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.368e-05/0.3344, allocations: 40.38 kB / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/0.3351, allocations: 317.3 kB / 1.026 GB, free: 2.695 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3351, allocations: 3.938 kB / 1.026 GB, free: 2.691 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.3351, allocations: 12 kB / 1.026 GB, free: 2.68 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.3352, allocations: 4 kB / 1.026 GB, free: 2.676 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000681/0.3358, allocations: 254 kB / 1.026 GB, free: 2.426 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.3376, allocations: 0.9276 MB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007147/0.3383, allocations: 378.6 kB / 1.027 GB, free: 1.07 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/0.3389, allocations: 289.7 kB / 1.027 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3389, allocations: 7.938 kB / 1.027 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000615/0.3396, allocations: 331 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 2.585e-06/0.3396, allocations: 0 / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.001768/0.3413, allocations: 0.8303 MB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.3415, allocations: 195.9 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.3419, allocations: 288.5 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.214e-05/0.3419, allocations: 45.7 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.3421, allocations: 156.9 kB / 1.029 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.3423, allocations: 134.2 kB / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.3425, allocations: 130.1 kB / 1.029 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002172/0.3427, allocations: 350.8 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006325/0.3434, allocations: 276.8 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/0.3441, allocations: 357.8 kB / 1.03 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.3454, allocations: 0.9205 MB / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.3454, allocations: 3.938 kB / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001841/0.3473, allocations: 0.9936 MB / 1.032 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001905/0.3475, allocations: 259.3 kB / 1.032 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.3475, allocations: 4.281 kB / 1.032 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.3475, allocations: 8 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.3478, allocations: 63.89 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.3478, allocations: 7.938 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007775/0.3486, allocations: 139.5 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.3487, allocations: 67.92 kB / 1.033 GB, free: 10.89 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.0003819/0.3491, allocations: 319.7 kB / 1.033 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.3492, allocations: 43.47 kB / 1.033 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.722e-05/0.3493, allocations: 43.48 kB / 1.033 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.3493, allocations: 11.88 kB / 1.033 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3493, allocations: 0 / 1.033 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3494, allocations: 3.984 kB / 1.033 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.3514, allocations: 1.198 MB / 1.034 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/0.3514, allocations: 0 / 1.034 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.3516, allocations: 63.89 kB / 1.034 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.3517, allocations: 4 kB / 1.034 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.3517, allocations: 8 kB / 1.034 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.3517, allocations: 4 kB / 1.034 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.3517, allocations: 3.938 kB / 1.034 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.353, allocations: 0.7691 MB / 1.035 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.3531, allocations: 108.6 kB / 1.035 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.3531, allocations: 15.98 kB / 1.035 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.3534, allocations: 31.97 kB / 1.035 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3535, allocations: 39.88 kB / 1.035 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.167e-05/0.3536, allocations: 51.88 kB / 1.035 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002369/0.3538, allocations: 199.1 kB / 1.036 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3538, allocations: 0 / 1.036 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005113/0.3544, allocations: 103.9 kB / 1.036 GB, free: 7.695 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.0002357/0.3546, allocations: 131.2 kB / 1.036 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.3566, allocations: 1.195 MB / 1.037 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.3566, allocations: 4.062 kB / 1.037 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006596/0.3573, allocations: 0.5202 MB / 1.038 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.3579, allocations: 92.47 kB / 1.038 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.3593, allocations: 0.8347 MB / 1.038 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.3598, allocations: 0.8002 MB / 1.039 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.619e-05/0.3599, allocations: 31.44 kB / 1.039 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of SimCode: time 8.91e-07/0.3599, allocations: 0 / 1.039 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of Templates: time 0.00956/0.3694, allocations: 5.585 MB / 1.045 GB, free: 14.3 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=400 -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