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.001301/0.001301, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.01008/0.01008, allocations: 170.6 kB / 16.27 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.459/1.459, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.515/2.515, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004575, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8541/0.8546, allocations: 142.4 MB / 0.955 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001503/0.8562, allocations: 1.128 MB / 0.9561 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.8581, allocations: 1.887 MB / 0.958 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.8581, allocations: 1.125 kB / 0.958 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009122/0.8591, allocations: 362.9 kB / 0.9583 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.67e-05/0.8591, allocations: 17.33 kB / 0.9583 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.8591, allocations: 0 / 0.9583 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.8594, allocations: 139 kB / 0.9585 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.478e-05/0.8594, allocations: 23.25 kB / 0.9585 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.628e-05/0.8595, allocations: 41.64 kB / 0.9585 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.8596, allocations: 60.22 kB / 0.9586 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.8596, allocations: 2.75 kB / 0.9586 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004224/0.8601, allocations: 184.9 kB / 0.9588 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.8601, allocations: 30.64 kB / 0.9588 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.182e-05/0.8602, allocations: 103.8 kB / 0.9589 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.8606, allocations: 287.8 kB / 0.9592 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8606, allocations: 0 / 0.9592 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8606, allocations: 0 / 0.9592 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.8607, allocations: 1.188 kB / 0.9592 GB, free: 4.605 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.000591/0.8613, allocations: 477.2 kB / 0.9596 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.8613, allocations: 9.625 kB / 0.9596 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.8614, allocations: 102.9 kB / 0.9597 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.8616, allocations: 284 kB / 0.96 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.8617, allocations: 152.3 kB / 0.9602 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.8617, allocations: 161.7 kB / 0.9603 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.408e-05/0.8618, allocations: 106.5 kB / 0.9604 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.8618, allocations: 79.28 kB / 0.9605 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.8618, allocations: 154.6 kB / 0.9606 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.8618, allocations: 159.9 kB / 0.9608 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.8619, allocations: 150.6 kB / 0.9609 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.8621, allocations: 0.5012 MB / 0.9614 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.334e-05/0.8622, allocations: 174.5 kB / 0.9616 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.8622, allocations: 80.14 kB / 0.9617 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.8623, allocations: 79.22 kB / 0.9617 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.8623, allocations: 115.2 kB / 0.9618 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.8623, allocations: 0 / 0.9618 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001723/0.8625, allocations: 52.42 kB / 0.9619 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.8625, allocations: 130.6 kB / 0.962 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.8628, allocations: 316.4 kB / 0.9623 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/0.8628, allocations: 29.7 kB / 0.9624 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.8629, allocations: 119.2 kB / 0.9625 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.8629, allocations: 5.312 kB / 0.9625 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.8629, allocations: 47.56 kB / 0.9625 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.684e-05/0.863, allocations: 333.6 kB / 0.9628 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.68e-05/0.8631, allocations: 67.36 kB / 0.9629 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.8632, allocations: 122.4 kB / 0.963 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.8635, allocations: 204.2 kB / 0.9632 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.8635, allocations: 4.875 kB / 0.9632 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00044/0.8639, allocations: 237.8 kB / 0.9634 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.8639, allocations: 5.781 kB / 0.9634 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.864, allocations: 1.406 kB / 0.9634 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.864, allocations: 2.656 kB / 0.9634 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.667e-06/0.864, allocations: 2.219 kB / 0.9635 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.864, allocations: 1.844 kB / 0.9635 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.8641, allocations: 29.66 kB / 0.9635 GB, free: 500 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.8641, allocations: 4.031 kB / 0.9635 GB, free: 500 kB / 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.0001978/0.8643, allocations: 232.4 kB / 0.9637 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/0.8644, allocations: 126.3 kB / 0.9638 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.8645, allocations: 117.2 kB / 0.9639 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-05/0.8645, allocations: 181 kB / 0.9641 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.489e-05/0.8646, allocations: 177 kB / 0.9643 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.256e-05/0.8647, allocations: 185.6 kB / 0.9645 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.865, allocations: 449.2 kB / 0.9649 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.161e-05/0.865, allocations: 102 kB / 0.965 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.8651, allocations: 117.9 kB / 0.9651 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.153e-05/0.8652, allocations: 177.4 kB / 0.9653 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.01e-05/0.8653, allocations: 185.7 kB / 0.9654 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.491e-05/0.8653, allocations: 181.5 kB / 0.9656 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-05/0.8654, allocations: 177.1 kB / 0.9658 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.8656, allocations: 320.6 kB / 0.9661 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.8657, allocations: 198.9 kB / 0.9663 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.926e-05/0.8658, allocations: 185.3 kB / 0.9665 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.8659, allocations: 102 kB / 0.9666 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.866, allocations: 185.1 kB / 0.9667 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/0.866, allocations: 102.8 kB / 0.9668 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002337/0.8663, allocations: 216.3 kB / 0.967 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8663, allocations: 0 / 0.967 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003872/0.8667, allocations: 63.22 kB / 0.9671 GB, free: 12.78 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.0003465/0.867, allocations: 279 kB / 0.9674 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.8673, allocations: 106.6 kB / 0.9675 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8673, allocations: 4.125 kB / 0.9675 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-06/0.8673, allocations: 4.938 kB / 0.9675 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.8677, allocations: 0.5307 MB / 0.968 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006071/0.8683, allocations: 438.2 kB / 0.9684 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.8687, allocations: 0.7428 MB / 0.9691 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.96e-05/0.8687, allocations: 2.562 kB / 0.9691 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.8688, allocations: 13.47 kB / 0.9691 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8688, allocations: 0 / 0.9691 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.006153/0.8749, allocations: 2.219 MB / 0.9713 GB, free: 9.727 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