Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_med,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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, 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.001219/0.001219, allocations: 190.8 kB / 16.25 MB, free: 6.633 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.911/2.911, allocations: 469.8 MB / 0.742 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 64.78 kB / 0.908 GB, free: 34.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3483, allocations: 159.2 MB / 1.063 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003148/0.3515, allocations: 1.475 MB / 1.065 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003658/0.3552, allocations: 2.632 MB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.3553, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.3567, allocations: 0.573 MB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.567e-05/0.3568, allocations: 15.91 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.3568, allocations: 0 / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.3571, allocations: 155 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.648e-05/0.3572, allocations: 36.41 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.553e-05/0.3573, allocations: 63.66 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.3574, allocations: 75.59 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.3574, allocations: 4 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.3585, allocations: 495.2 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.439e-05/0.3586, allocations: 35.78 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.3587, allocations: 95.42 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007279/0.3595, allocations: 410.3 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3595, allocations: 0 / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3595, allocations: 0 / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.3595, allocations: 0 / 1.069 GB, free: 8.574 MB / 0.8262 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.3604, allocations: 0.5451 MB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3604, allocations: 12.03 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.3606, allocations: 99.94 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.361, allocations: 318.2 kB / 1.07 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/0.361, allocations: 150.9 kB / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.3612, allocations: 150.9 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.703e-05/0.3613, allocations: 109.5 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/0.3613, allocations: 75.47 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.866e-05/0.3614, allocations: 154.5 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.694e-05/0.3615, allocations: 154.6 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.653e-05/0.3616, allocations: 154.5 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.3621, allocations: 0.5328 MB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.3623, allocations: 165.1 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.3624, allocations: 84.14 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.3624, allocations: 75.28 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.465e-05/0.3625, allocations: 109.8 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.3625, allocations: 0 / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001908/0.3627, allocations: 57.3 kB / 1.072 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/0.3628, allocations: 130.7 kB / 1.072 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005956/0.3634, allocations: 433.2 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.3634, allocations: 29.7 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.994e-05/0.3635, allocations: 132.5 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.3636, allocations: 0 / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.3637, allocations: 89.66 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3639, allocations: 346.8 kB / 1.073 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.364, allocations: 96.5 kB / 1.073 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.3643, allocations: 173.2 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.3647, allocations: 301.6 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3647, allocations: 0 / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005321/0.3652, allocations: 328.9 kB / 1.074 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3652, allocations: 5.875 kB / 1.074 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3653, allocations: 8.156 kB / 1.074 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3653, allocations: 4 kB / 1.074 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-06/0.3653, allocations: 4 kB / 1.074 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.3653, allocations: 3.984 kB / 1.074 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.3654, allocations: 43.28 kB / 1.074 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3655, allocations: 4 kB / 1.074 GB, free: 3.301 MB / 0.8262 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.0003052/0.3658, allocations: 248.9 kB / 1.074 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.3659, allocations: 124.7 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.804e-05/0.366, allocations: 122.9 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-05/0.3661, allocations: 180.2 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.833e-05/0.3662, allocations: 176.3 kB / 1.075 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001791/0.3664, allocations: 176.3 kB / 1.075 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.3668, allocations: 481.1 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.915e-05/0.3669, allocations: 109 kB / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.477e-05/0.367, allocations: 113 kB / 1.076 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.66e-05/0.3671, allocations: 176.3 kB / 1.076 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.775e-05/0.3672, allocations: 184.3 kB / 1.076 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002364/0.3674, allocations: 188.2 kB / 1.076 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001048/0.3676, allocations: 184.3 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.3679, allocations: 323.4 kB / 1.077 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.3681, allocations: 205.8 kB / 1.077 GB, free: 180 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.3683, allocations: 184.2 kB / 1.077 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.3684, allocations: 105 kB / 1.077 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.3685, allocations: 184.2 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.3686, allocations: 101 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003287/0.369, allocations: 283.1 kB / 1.078 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.369, allocations: 0 / 1.078 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004295/0.3694, allocations: 76 kB / 1.078 GB, free: 15.24 MB / 0.8419 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.0004547/0.3699, allocations: 303.3 kB / 1.078 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.3701, allocations: 168.1 kB / 1.078 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3701, allocations: 4 kB / 1.078 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.3701, allocations: 0 / 1.078 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.3706, allocations: 464.7 kB / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007662/0.3714, allocations: 0.5341 MB / 1.079 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.3718, allocations: 0.7781 MB / 1.08 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.236e-05/0.3718, allocations: 8 kB / 1.08 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.3719, allocations: 11.44 kB / 1.08 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3719, allocations: 0 / 1.08 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of Templates: time 0.006956/0.3788, allocations: 2.894 MB / 1.083 GB, free: 10.04 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches