Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002069/0.002069, allocations: 193.9 kB / 16.25 MB, free: 6.637 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.52/1.52, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.684/2.684, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 63.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9471/0.9494, allocations: 140.4 MB / 0.9491 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002254/0.9517, allocations: 1.457 MB / 0.9505 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.9534, allocations: 1.905 MB / 0.9524 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.9535, allocations: 1.719 kB / 0.9524 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008865/0.9544, allocations: 378.6 kB / 0.9527 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.041e-05/0.9544, allocations: 15.86 kB / 0.9528 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.068e-06/0.9544, allocations: 0 / 0.9528 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.9547, allocations: 129.4 kB / 0.9529 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.9547, allocations: 19.25 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.459e-05/0.9548, allocations: 43.98 kB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.9549, allocations: 64.33 kB / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.9549, allocations: 2.844 kB / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004063/0.9553, allocations: 181 kB / 0.9532 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.9554, allocations: 35.31 kB / 0.9532 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.202e-05/0.9555, allocations: 69.64 kB / 0.9533 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.9558, allocations: 286.3 kB / 0.9536 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9559, allocations: 4 kB / 0.9536 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9559, allocations: 0 / 0.9536 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.9559, allocations: 0 / 0.9536 GB, free: 5.824 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005933/0.9565, allocations: 490.3 kB / 0.954 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.9565, allocations: 9.344 kB / 0.954 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.9567, allocations: 102.3 kB / 0.9541 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.9568, allocations: 289.3 kB / 0.9544 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.9569, allocations: 152.5 kB / 0.9546 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.9569, allocations: 157.4 kB / 0.9547 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.838e-05/0.957, allocations: 113.1 kB / 0.9548 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.957, allocations: 76.94 kB / 0.9549 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.957, allocations: 154.6 kB / 0.955 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.957, allocations: 150.6 kB / 0.9552 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.117e-05/0.9571, allocations: 156.1 kB / 0.9553 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.9573, allocations: 0.5 MB / 0.9558 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.596e-05/0.9574, allocations: 170.4 kB / 0.956 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.9574, allocations: 80.14 kB / 0.956 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.9575, allocations: 80.41 kB / 0.9561 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.9575, allocations: 121.7 kB / 0.9562 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.9575, allocations: 1.219 kB / 0.9562 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001657/0.9577, allocations: 43.08 kB / 0.9563 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.9577, allocations: 132.1 kB / 0.9564 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.958, allocations: 319 kB / 0.9567 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.958, allocations: 30.8 kB / 0.9567 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.9581, allocations: 119.1 kB / 0.9569 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-06/0.9581, allocations: 1 kB / 0.9569 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/0.9582, allocations: 59.72 kB / 0.9569 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.9583, allocations: 329.7 kB / 0.9572 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.9584, allocations: 76.14 kB / 0.9573 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.9585, allocations: 121.3 kB / 0.9574 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.9588, allocations: 213.5 kB / 0.9576 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9588, allocations: 0 / 0.9576 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004126/0.9592, allocations: 237.7 kB / 0.9578 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.9593, allocations: 7.312 kB / 0.9579 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.9593, allocations: 0 / 0.9579 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.9593, allocations: 5.75 kB / 0.9579 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.9593, allocations: 0 / 0.9579 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.9593, allocations: 3.844 kB / 0.9579 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.9594, allocations: 31.02 kB / 0.9579 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.9595, allocations: 3.562 kB / 0.9579 GB, free: 1.691 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0001794/0.9596, allocations: 226.2 kB / 0.9581 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.9597, allocations: 124.2 kB / 0.9582 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.9597, allocations: 117.8 kB / 0.9583 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/0.9598, allocations: 186 kB / 0.9585 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.536e-05/0.9598, allocations: 176.3 kB / 0.9587 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.699e-05/0.9598, allocations: 182.2 kB / 0.9589 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.96, allocations: 457.2 kB / 0.9593 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/0.9601, allocations: 109 kB / 0.9594 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.376e-05/0.9601, allocations: 110.7 kB / 0.9595 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.9e-05/0.9602, allocations: 181.4 kB / 0.9597 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/0.9603, allocations: 176.3 kB / 0.9598 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.797e-05/0.9603, allocations: 185.3 kB / 0.96 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.532e-05/0.9604, allocations: 177.4 kB / 0.9602 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.9606, allocations: 328.8 kB / 0.9605 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.9608, allocations: 199.9 kB / 0.9607 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.9609, allocations: 180.2 kB / 0.9609 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.961, allocations: 106.6 kB / 0.961 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.9611, allocations: 181.7 kB / 0.9611 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.9612, allocations: 106.6 kB / 0.9612 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002231/0.9614, allocations: 215.4 kB / 0.9615 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9614, allocations: 3.938 kB / 0.9615 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004021/0.9618, allocations: 64.28 kB / 0.9615 GB, free: 13.97 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003307/0.9622, allocations: 269.4 kB / 0.9618 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001765/0.9624, allocations: 106.8 kB / 0.9619 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9624, allocations: 448 / 0.9619 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.499e-06/0.9624, allocations: 7.938 kB / 0.9619 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.9628, allocations: 463 kB / 0.9623 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.9633, allocations: 421.3 kB / 0.9627 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.9636, allocations: 0.739 MB / 0.9635 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.276e-05/0.9636, allocations: 2.656 kB / 0.9635 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/0.9637, allocations: 8.875 kB / 0.9635 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.9637, allocations: 1.281 kB / 0.9635 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of Templates: time 0.005408/0.9691, allocations: 2.297 MB / 0.9657 GB, free: 10.99 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches