Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001572/0.001572, 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.00244/0.00244, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.496/1.496, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002045, allocations: 62.14 kB / 0.8986 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3219, allocations: 157.4 MB / 1.052 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00272/0.3247, allocations: 1.469 MB / 1.054 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00336/0.328, allocations: 2.643 MB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.3281, allocations: 0 / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.3298, allocations: 0.5522 MB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.594e-05/0.3299, allocations: 19.91 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.368e-06/0.3299, allocations: 0 / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000255/0.3301, allocations: 154.9 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.22e-05/0.3302, allocations: 40.38 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.573e-05/0.3303, allocations: 59.75 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.3304, allocations: 79.58 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.3305, allocations: 4 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.3315, allocations: 495.2 kB / 1.058 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.3315, allocations: 35.78 kB / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.3317, allocations: 95.42 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000565/0.3322, allocations: 406.3 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3322, allocations: 0 / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3322, allocations: 0 / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3323, allocations: 0 / 1.058 GB, free: 2.727 MB / 0.8106 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.0007622/0.333, allocations: 0.545 MB / 1.059 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.3331, allocations: 16.62 kB / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.3332, allocations: 103.9 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.3335, allocations: 294.4 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.286e-05/0.3336, allocations: 154.9 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.3337, allocations: 154.9 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.594e-05/0.3338, allocations: 113.5 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.3338, allocations: 79.47 kB / 1.06 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.787e-05/0.3338, allocations: 158.5 kB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-05/0.3339, allocations: 150.6 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.334, allocations: 150.6 kB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.3343, allocations: 0.5366 MB / 1.061 GB, free: 152 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.46e-05/0.3345, allocations: 173.1 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.3345, allocations: 80.14 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.3345, allocations: 83.2 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.419e-05/0.3346, allocations: 105.8 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3346, allocations: 0 / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001714/0.3348, allocations: 61.34 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.3348, allocations: 134.7 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.3353, allocations: 433.1 kB / 1.062 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.3353, allocations: 25.7 kB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.3354, allocations: 132.5 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.3354, allocations: 0 / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.104e-05/0.3355, allocations: 85.67 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3356, allocations: 342.8 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3358, allocations: 112.4 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.3359, allocations: 165.3 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.3362, allocations: 305.6 kB / 1.063 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3363, allocations: 7.938 kB / 1.063 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004708/0.3367, allocations: 325 kB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3368, allocations: 4 kB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3368, allocations: 3.938 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3368, allocations: 4 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.3368, allocations: 0 / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3368, allocations: 7.938 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.337, allocations: 47.22 kB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.337, allocations: 4 kB / 1.063 GB, free: 13.44 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.0002481/0.3372, allocations: 253.2 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-05/0.3373, allocations: 120.7 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.864e-05/0.3374, allocations: 122.9 kB / 1.064 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-05/0.3375, allocations: 180.3 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.723e-05/0.3375, allocations: 184.2 kB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.168e-05/0.3376, allocations: 180.3 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.3379, allocations: 473.2 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.041e-05/0.338, allocations: 108.9 kB / 1.065 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.338, allocations: 101 kB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.282e-05/0.3381, allocations: 180.2 kB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.818e-05/0.3382, allocations: 188.2 kB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.605e-05/0.3383, allocations: 188.2 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.172e-05/0.3383, allocations: 180.2 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.3385, allocations: 319.5 kB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.3386, allocations: 205.7 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.3387, allocations: 184.2 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.3389, allocations: 108.9 kB / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.339, allocations: 180.2 kB / 1.066 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/0.339, allocations: 104.9 kB / 1.066 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002871/0.3393, allocations: 283.1 kB / 1.067 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3393, allocations: 0 / 1.067 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000398/0.3397, allocations: 76 kB / 1.067 GB, free: 9.379 MB / 0.8262 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.0004043/0.3401, allocations: 297.3 kB / 1.067 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.3404, allocations: 159.9 kB / 1.067 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3404, allocations: 0 / 1.067 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.3404, allocations: 0 / 1.067 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.3409, allocations: 473.6 kB / 1.068 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/0.3416, allocations: 0.5417 MB / 1.068 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.342, allocations: 0.7743 MB / 1.069 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.443e-05/0.342, allocations: 7.984 kB / 1.069 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.342, allocations: 7.438 kB / 1.069 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.342, allocations: 0 / 1.069 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of Templates: time 0.006645/0.3487, allocations: 2.911 MB / 1.072 GB, free: 4.176 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches