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.001624/0.001624, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001342/0.001342, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.484/1.484, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.426/2.426, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 63.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9367/0.9388, allocations: 140.3 MB / 0.9489 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002628/0.9415, allocations: 1.464 MB / 0.9503 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001925/0.9434, allocations: 1.911 MB / 0.9522 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.9435, allocations: 0 / 0.9522 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.9447, allocations: 370.3 kB / 0.9526 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.898e-05/0.9447, allocations: 15.84 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.552e-06/0.9448, allocations: 0 / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.9452, allocations: 140.5 kB / 0.9527 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.9453, allocations: 22.39 kB / 0.9527 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.9454, allocations: 46.72 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.9456, allocations: 60.36 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.9456, allocations: 2.844 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006502/0.9463, allocations: 180.2 kB / 0.953 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.875e-05/0.9464, allocations: 31.25 kB / 0.953 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.9465, allocations: 77.84 kB / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005545/0.9471, allocations: 287.4 kB / 0.9534 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.9471, allocations: 1.375 kB / 0.9534 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9471, allocations: 0 / 0.9534 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.9471, allocations: 4 kB / 0.9534 GB, free: 5.914 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.0008559/0.948, allocations: 489.4 kB / 0.9539 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.948, allocations: 10.25 kB / 0.9539 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.9482, allocations: 101.4 kB / 0.954 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.9485, allocations: 294.1 kB / 0.9542 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.9485, allocations: 154.9 kB / 0.9544 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.9486, allocations: 153.7 kB / 0.9545 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.228e-05/0.9487, allocations: 110.4 kB / 0.9546 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.9487, allocations: 75.28 kB / 0.9547 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.9487, allocations: 150.6 kB / 0.9549 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.9488, allocations: 156.2 kB / 0.955 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.09e-05/0.9488, allocations: 158.5 kB / 0.9552 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.9491, allocations: 0.5054 MB / 0.9557 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.294e-05/0.9492, allocations: 165.1 kB / 0.9558 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.9493, allocations: 85.39 kB / 0.9559 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.9493, allocations: 79.28 kB / 0.956 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.9493, allocations: 114.9 kB / 0.9561 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 2.495e-06/0.9493, allocations: 3.984 kB / 0.9561 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001931/0.9495, allocations: 44.27 kB / 0.9561 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.9496, allocations: 126.7 kB / 0.9562 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.95, allocations: 324.1 kB / 0.9566 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.95, allocations: 25.7 kB / 0.9566 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.476e-05/0.9501, allocations: 127.5 kB / 0.9567 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-06/0.9501, allocations: 1.281 kB / 0.9567 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.102e-05/0.9502, allocations: 59.84 kB / 0.9568 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.9503, allocations: 328.6 kB / 0.9571 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.9504, allocations: 63.95 kB / 0.9571 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.9506, allocations: 130.5 kB / 0.9573 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.9509, allocations: 206 kB / 0.9575 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9509, allocations: 0 / 0.9575 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004414/0.9513, allocations: 237.6 kB / 0.9577 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.9514, allocations: 5.875 kB / 0.9577 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.9514, allocations: 2.031 kB / 0.9577 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.9514, allocations: 1.812 kB / 0.9577 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.858e-06/0.9514, allocations: 6.125 kB / 0.9577 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.9515, allocations: 1.844 kB / 0.9577 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.9516, allocations: 39.17 kB / 0.9577 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.9516, allocations: 4.031 kB / 0.9577 GB, free: 1.777 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.0003067/0.9519, allocations: 217.1 kB / 0.9579 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.129e-05/0.952, allocations: 127.5 kB / 0.9581 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.9521, allocations: 108.8 kB / 0.9582 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-05/0.9521, allocations: 189.7 kB / 0.9584 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.934e-05/0.9522, allocations: 177.8 kB / 0.9585 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.514e-05/0.9522, allocations: 180.2 kB / 0.9587 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.9525, allocations: 451.1 kB / 0.9591 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.82e-05/0.9525, allocations: 113 kB / 0.9592 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.9525, allocations: 114 kB / 0.9593 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.9526, allocations: 177.5 kB / 0.9595 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.9528, allocations: 176.3 kB / 0.9597 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.343e-05/0.9529, allocations: 185.8 kB / 0.9599 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.937e-05/0.953, allocations: 185.8 kB / 0.96 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.9532, allocations: 324.1 kB / 0.9603 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.9534, allocations: 203.3 kB / 0.9605 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.9535, allocations: 181.5 kB / 0.9607 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.9537, allocations: 106.1 kB / 0.9608 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.9538, allocations: 181.8 kB / 0.961 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.227e-05/0.9538, allocations: 105 kB / 0.9611 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002535/0.9541, allocations: 218.2 kB / 0.9613 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9541, allocations: 0 / 0.9613 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005344/0.9546, allocations: 62 kB / 0.9613 GB, free: 14.07 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.000454/0.9551, allocations: 274.5 kB / 0.9616 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.9553, allocations: 106.8 kB / 0.9617 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.9554, allocations: 0 / 0.9617 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.9554, allocations: 3.938 kB / 0.9617 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.9559, allocations: 0.532 MB / 0.9622 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/0.9566, allocations: 420.5 kB / 0.9626 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.957, allocations: 0.7356 MB / 0.9634 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.601e-05/0.957, allocations: 2.469 kB / 0.9634 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.957, allocations: 8.469 kB / 0.9634 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.957, allocations: 8.938 kB / 0.9634 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.006389/0.9634, allocations: 2.241 MB / 0.9656 GB, free: 11.03 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