Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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_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_11_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_11_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.001232/0.001232, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001275/0.001275, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.331/1.331, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.561/2.561, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 72.23 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3109, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002869/0.3138, allocations: 1.47 MB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002494/0.3163, allocations: 1.904 MB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.3164, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.3175, allocations: 370.1 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.702e-05/0.3175, allocations: 11.92 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.527e-06/0.3175, allocations: 0 / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.3178, allocations: 135.1 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.639e-05/0.3178, allocations: 17.5 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.921e-05/0.3179, allocations: 39.86 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.318, allocations: 67.7 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.318, allocations: 4 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.3185, allocations: 179.9 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.3185, allocations: 27.84 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.379e-05/0.3186, allocations: 75.61 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.3189, allocations: 215.4 kB / 1.069 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3189, allocations: 0 / 1.069 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3189, allocations: 0 / 1.069 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.319, allocations: 4 kB / 1.069 GB, free: 10.61 MB / 0.8419 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.0007276/0.3197, allocations: 494.5 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3197, allocations: 12.03 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.3199, allocations: 96.02 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.3202, allocations: 283.4 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.867e-05/0.3203, allocations: 154.9 kB / 1.07 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/0.3203, allocations: 158.9 kB / 1.07 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.538e-05/0.3204, allocations: 105.1 kB / 1.07 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-05/0.3205, allocations: 79.22 kB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/0.3205, allocations: 154.5 kB / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.466e-05/0.3206, allocations: 154.5 kB / 1.07 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.448e-05/0.3207, allocations: 158.6 kB / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.3211, allocations: 0.5015 MB / 1.071 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.3212, allocations: 177.1 kB / 1.071 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.3213, allocations: 88.08 kB / 1.071 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.3213, allocations: 75.28 kB / 1.071 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.303e-05/0.3214, allocations: 113.8 kB / 1.071 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.3214, allocations: 0 / 1.071 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001775/0.3216, allocations: 53.5 kB / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.3216, allocations: 126.7 kB / 1.071 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.322, allocations: 322.3 kB / 1.072 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.322, allocations: 29.64 kB / 1.072 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.3221, allocations: 116.4 kB / 1.072 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-06/0.3221, allocations: 4 kB / 1.072 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-05/0.3222, allocations: 61.69 kB / 1.072 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3223, allocations: 326.8 kB / 1.072 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.756e-05/0.3225, allocations: 63.95 kB / 1.072 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3226, allocations: 114 kB / 1.072 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.3228, allocations: 213.8 kB / 1.073 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3229, allocations: 0 / 1.073 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004434/0.3233, allocations: 245.1 kB / 1.073 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3233, allocations: 7.938 kB / 1.073 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3233, allocations: 0 / 1.073 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3234, allocations: 4 kB / 1.073 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.3234, allocations: 0 / 1.073 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3234, allocations: 8.219 kB / 1.073 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.3235, allocations: 27.69 kB / 1.073 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.3235, allocations: 8.062 kB / 1.073 GB, free: 5.891 MB / 0.8419 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.0002008/0.3237, allocations: 225 kB / 1.073 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.3238, allocations: 128.6 kB / 1.073 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.884e-05/0.3239, allocations: 105.9 kB / 1.073 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.208e-05/0.324, allocations: 188.2 kB / 1.073 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.17e-05/0.324, allocations: 180.3 kB / 1.074 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.71e-05/0.3241, allocations: 180.2 kB / 1.074 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.3245, allocations: 449.2 kB / 1.074 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.622e-05/0.3245, allocations: 108.9 kB / 1.074 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.3246, allocations: 108.9 kB / 1.074 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.066e-05/0.3247, allocations: 180.3 kB / 1.075 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.523e-05/0.3247, allocations: 180.2 kB / 1.075 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.418e-05/0.3248, allocations: 184.2 kB / 1.075 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.094e-05/0.3249, allocations: 188.2 kB / 1.075 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.3251, allocations: 315.6 kB / 1.075 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.3252, allocations: 201.7 kB / 1.076 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.3253, allocations: 188.2 kB / 1.076 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.3255, allocations: 108.9 kB / 1.076 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.866e-05/0.3256, allocations: 176.3 kB / 1.076 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.3256, allocations: 105 kB / 1.076 GB, free: 2.238 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002141/0.3258, allocations: 217.9 kB / 1.076 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3258, allocations: 0 / 1.076 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003474/0.3262, allocations: 64 kB / 1.076 GB, free: 1.961 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.0003332/0.3265, allocations: 278.7 kB / 1.077 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.3267, allocations: 103.9 kB / 1.077 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3267, allocations: 0 / 1.077 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.3267, allocations: 0 / 1.077 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.3272, allocations: 456.7 kB / 1.077 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.3277, allocations: 466.8 kB / 1.078 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4173/0.7451, allocations: 0.7389 MB / 1.078 GB, free: 22.63 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.7451, allocations: 9.312 kB / 1.078 GB, free: 22.62 MB / 0.8419 GB Notification: Performance of SimCode: time 9.01e-07/0.7452, allocations: 0 / 1.078 GB, free: 22.62 MB / 0.8419 GB Notification: Performance of Templates: time 0.004774/0.7499, allocations: 2.336 MB / 1.081 GB, free: 22.5 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches