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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001283/0.001283, allocations: 103.1 kB / 16.35 MB, free: 5.828 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.00132/0.00132, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.225/2.225, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 61.67 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3198, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002834/0.3227, allocations: 1.399 MB / 0.9525 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002439/0.3251, allocations: 1.935 MB / 0.9544 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.3252, allocations: 0 / 0.9544 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.3262, allocations: 385.6 kB / 0.9547 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.936e-05/0.3263, allocations: 23.91 kB / 0.9548 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.268e-06/0.3263, allocations: 0 / 0.9548 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.3265, allocations: 119.2 kB / 0.9549 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.215e-05/0.3266, allocations: 21.48 kB / 0.9549 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.638e-05/0.3266, allocations: 43.8 kB / 0.9549 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.3268, allocations: 63.66 kB / 0.955 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3268, allocations: 0 / 0.955 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005337/0.3273, allocations: 191.9 kB / 0.9552 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.3274, allocations: 39.81 kB / 0.9552 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.814e-05/0.3275, allocations: 63.62 kB / 0.9553 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.3279, allocations: 286.9 kB / 0.9556 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.328, allocations: 3.984 kB / 0.9556 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.328, allocations: 0 / 0.9556 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.328, allocations: 0 / 0.9556 GB, free: 3.469 MB / 0.7325 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.0007394/0.3287, allocations: 0.4907 MB / 0.956 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3288, allocations: 8.031 kB / 0.956 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.3289, allocations: 99.94 kB / 0.9561 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.3293, allocations: 283.4 kB / 0.9564 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.3293, allocations: 154.9 kB / 0.9566 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.3294, allocations: 150.9 kB / 0.9567 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.694e-05/0.3295, allocations: 125 kB / 0.9568 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/0.3295, allocations: 75.28 kB / 0.9569 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/0.3296, allocations: 150.6 kB / 0.957 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.115e-05/0.3296, allocations: 150.6 kB / 0.9572 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.048e-05/0.3297, allocations: 150.6 kB / 0.9573 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.3301, allocations: 0.5133 MB / 0.9578 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.749e-05/0.3301, allocations: 169.1 kB / 0.958 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.3302, allocations: 84.08 kB / 0.9581 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3302, allocations: 75.28 kB / 0.9581 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/0.3303, allocations: 113.8 kB / 0.9582 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3303, allocations: 4 kB / 0.9583 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001743/0.3305, allocations: 53.41 kB / 0.9583 GB, free: 488 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.3306, allocations: 126.7 kB / 0.9584 GB, free: 348 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.3309, allocations: 322.3 kB / 0.9587 GB, free: 16 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.331, allocations: 25.7 kB / 0.9588 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.331, allocations: 120.4 kB / 0.9589 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.3311, allocations: 0 / 0.9589 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.531e-05/0.3311, allocations: 57.69 kB / 0.9589 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.3313, allocations: 338.8 kB / 0.9592 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3315, allocations: 59.95 kB / 0.9593 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.3316, allocations: 118 kB / 0.9594 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.3319, allocations: 213.8 kB / 0.9596 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3319, allocations: 0 / 0.9596 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004249/0.3323, allocations: 229.2 kB / 0.9598 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3323, allocations: 8 kB / 0.9598 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3323, allocations: 7.984 kB / 0.9599 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3324, allocations: 4 kB / 0.9599 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.3324, allocations: 0 / 0.9599 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3324, allocations: 11.88 kB / 0.9599 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.3325, allocations: 23.59 kB / 0.9599 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.3325, allocations: 4 kB / 0.9599 GB, free: 14.75 MB / 0.7481 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.0002083/0.3327, allocations: 233.2 kB / 0.9601 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/0.3328, allocations: 120.8 kB / 0.9602 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.39e-05/0.3329, allocations: 121.8 kB / 0.9603 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.547e-05/0.333, allocations: 176.3 kB / 0.9605 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.499e-05/0.3331, allocations: 184.2 kB / 0.9607 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.811e-05/0.3332, allocations: 180.3 kB / 0.9609 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.3335, allocations: 449.2 kB / 0.9613 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.204e-05/0.3335, allocations: 104.9 kB / 0.9614 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.3336, allocations: 108.9 kB / 0.9615 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.333e-05/0.3336, allocations: 180.2 kB / 0.9617 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.007e-05/0.3337, allocations: 184.3 kB / 0.9618 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.976e-05/0.3338, allocations: 180.2 kB / 0.962 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.883e-05/0.3339, allocations: 188.1 kB / 0.9622 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.334, allocations: 319.5 kB / 0.9625 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.3342, allocations: 201.8 kB / 0.9627 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.3344, allocations: 176.3 kB / 0.9629 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.3345, allocations: 112.9 kB / 0.963 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.859e-05/0.3346, allocations: 180.2 kB / 0.9631 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.3346, allocations: 105.2 kB / 0.9632 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002023/0.3348, allocations: 213.9 kB / 0.9634 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3348, allocations: 0 / 0.9634 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000428/0.3353, allocations: 71.98 kB / 0.9635 GB, free: 10.82 MB / 0.7481 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.0004391/0.3357, allocations: 270.5 kB / 0.9638 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.3359, allocations: 104.1 kB / 0.9639 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3359, allocations: 0 / 0.9639 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.027e-06/0.336, allocations: 4 kB / 0.9639 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.3364, allocations: 468.2 kB / 0.9643 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.3369, allocations: 401.3 kB / 0.9647 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.3373, allocations: 0.7431 MB / 0.9654 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.329e-05/0.3373, allocations: 4 kB / 0.9654 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.3374, allocations: 15.38 kB / 0.9654 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of SimCode: time 6.52e-07/0.3374, allocations: 0 / 0.9654 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of Templates: time 0.005838/0.3432, allocations: 2.292 MB / 0.9677 GB, free: 6.48 MB / 0.7481 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 -s cvode -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/jenkins1/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