Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001041/0.001041, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007988/0.007988, allocations: 173.8 kB / 16.27 MB, free: 6.613 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.557/1.557, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.844/2.844, allocations: 437.8 MB / 0.7121 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003918, allocations: 11.98 kB / 0.8728 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7147/0.7151, allocations: 153.8 MB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001768/0.717, allocations: 1.117 MB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002611/0.7196, allocations: 1.885 MB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.7196, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000991/0.7206, allocations: 362.1 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.81e-05/0.7207, allocations: 19.91 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.825e-06/0.7207, allocations: 0 / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.721, allocations: 147.1 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.957e-05/0.7211, allocations: 25.48 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.7211, allocations: 39.86 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.7213, allocations: 59.72 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.7213, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.7218, allocations: 183.9 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.7218, allocations: 27.84 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.722, allocations: 109.3 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.7225, allocations: 285 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.7225, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.495e-06/0.7225, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.7225, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 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.0008249/0.7233, allocations: 486.5 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.7234, allocations: 15.97 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.7236, allocations: 104 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.7239, allocations: 283.4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-05/0.724, allocations: 158.9 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.881e-05/0.7241, allocations: 158.9 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.369e-05/0.7241, allocations: 105.1 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.882e-05/0.7242, allocations: 75.28 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.152e-05/0.7243, allocations: 154.6 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.062e-05/0.7244, allocations: 150.6 kB / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.272e-05/0.7245, allocations: 162.5 kB / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.725, allocations: 0.5016 MB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.7251, allocations: 173.1 kB / 1.03 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.7251, allocations: 84.14 kB / 1.03 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.7252, allocations: 75.28 kB / 1.03 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.91e-05/0.7253, allocations: 109.8 kB / 1.03 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.7253, allocations: 3.938 kB / 1.03 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001881/0.7255, allocations: 45.52 kB / 1.03 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.7256, allocations: 130.7 kB / 1.03 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.726, allocations: 322.3 kB / 1.03 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.726, allocations: 25.7 kB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/0.7261, allocations: 116.4 kB / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.7261, allocations: 0 / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.7262, allocations: 49.69 kB / 1.031 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.7264, allocations: 330.8 kB / 1.031 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.925e-05/0.7265, allocations: 63.95 kB / 1.031 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.7267, allocations: 121.9 kB / 1.031 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.727, allocations: 201.9 kB / 1.031 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.727, allocations: 7.984 kB / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004671/0.7274, allocations: 237.2 kB / 1.031 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.7275, allocations: 8.031 kB / 1.031 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.7275, allocations: 4 kB / 1.031 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.7275, allocations: 0 / 1.031 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.39e-06/0.7275, allocations: 8 kB / 1.031 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.7275, allocations: 0 / 1.031 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.7276, allocations: 27.62 kB / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.7277, allocations: 4 kB / 1.031 GB, free: 7.012 MB / 0.7794 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.0002299/0.7279, allocations: 221.1 kB / 1.032 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.728, allocations: 136.6 kB / 1.032 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.86e-05/0.7281, allocations: 113.9 kB / 1.032 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000105/0.7282, allocations: 180.2 kB / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-05/0.7283, allocations: 184.2 kB / 1.032 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-05/0.7284, allocations: 180.2 kB / 1.032 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.7288, allocations: 461.1 kB / 1.033 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.885e-05/0.7288, allocations: 101 kB / 1.033 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.548e-05/0.7289, allocations: 120.9 kB / 1.033 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.103e-05/0.729, allocations: 176.3 kB / 1.033 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.752e-05/0.7291, allocations: 180.3 kB / 1.033 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-05/0.7292, allocations: 180.2 kB / 1.034 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.412e-05/0.7293, allocations: 180.3 kB / 1.034 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.7295, allocations: 319.6 kB / 1.034 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.7296, allocations: 197.8 kB / 1.034 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.7297, allocations: 184.2 kB / 1.034 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.7299, allocations: 105 kB / 1.035 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.83e-05/0.73, allocations: 184.2 kB / 1.035 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.73, allocations: 105 kB / 1.035 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002371/0.7303, allocations: 217.9 kB / 1.035 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7303, allocations: 0 / 1.035 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003602/0.7307, allocations: 60 kB / 1.035 GB, free: 3.09 MB / 0.7794 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.0003634/0.731, allocations: 271.4 kB / 1.035 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001879/0.7312, allocations: 107.9 kB / 1.035 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7312, allocations: 0 / 1.035 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.088e-06/0.7312, allocations: 4.375 kB / 1.035 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.7317, allocations: 0.5314 MB / 1.036 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.7324, allocations: 445.9 kB / 1.036 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.7328, allocations: 0.7433 MB / 1.037 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.184e-05/0.7328, allocations: 0 / 1.037 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.7329, allocations: 11.44 kB / 1.037 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7329, allocations: 0 / 1.037 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of Templates: time 0.006187/0.739, allocations: 2.224 MB / 1.039 GB, free: 14.7 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches