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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001252/0.001251, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001435/0.001435, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.685/2.685, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003937, allocations: 16 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.884/0.8844, allocations: 153.7 MB / 1.021 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001527/0.886, allocations: 1.105 MB / 1.022 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.8887, allocations: 2.249 MB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.718e-05/0.8888, allocations: 0 / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.8902, allocations: 0.5449 MB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.208e-05/0.8902, allocations: 19.95 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.208e-06/0.8902, allocations: 0 / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.8904, allocations: 131.7 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.649e-05/0.8905, allocations: 40.39 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.336e-05/0.8906, allocations: 47.73 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.8907, allocations: 75.59 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.8907, allocations: 4 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009261/0.8917, allocations: 447.6 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.8917, allocations: 39.83 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.8918, allocations: 61.58 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.8922, allocations: 273.6 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8922, allocations: 3.938 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8922, allocations: 0 / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.8923, allocations: 0 / 1.026 GB, free: 12.22 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.000744/0.893, allocations: 0.5294 MB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.8931, allocations: 12.03 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.8932, allocations: 99 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.8935, allocations: 305 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.315e-05/0.8935, allocations: 154.5 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.8936, allocations: 158.6 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.976e-05/0.8937, allocations: 104.9 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.8937, allocations: 79.28 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.885e-05/0.8938, allocations: 150.6 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-05/0.8938, allocations: 154.5 kB / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.516e-05/0.8939, allocations: 150.6 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.8943, allocations: 0.5366 MB / 1.028 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.47e-05/0.8944, allocations: 169.1 kB / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.8944, allocations: 75.28 kB / 1.028 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.8945, allocations: 109.8 kB / 1.028 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.8945, allocations: 0 / 1.028 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001705/0.8946, allocations: 65.22 kB / 1.028 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.8947, allocations: 134.7 kB / 1.029 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.8952, allocations: 417.3 kB / 1.029 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.8952, allocations: 29.7 kB / 1.029 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.8953, allocations: 132.5 kB / 1.029 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.8953, allocations: 0 / 1.029 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.8953, allocations: 0 / 1.029 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.8954, allocations: 338.8 kB / 1.029 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.8956, allocations: 100.5 kB / 1.03 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.8957, allocations: 169.3 kB / 1.03 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.8959, allocations: 127.8 kB / 1.03 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.8959, allocations: 4 kB / 1.03 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004883/0.8964, allocations: 324.8 kB / 1.03 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.8964, allocations: 8 kB / 1.03 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.8964, allocations: 224 / 1.03 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.8964, allocations: 11.95 kB / 1.03 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.327e-06/0.8965, allocations: 3.984 kB / 1.03 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.8965, allocations: 4 kB / 1.03 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.8966, allocations: 43.38 kB / 1.03 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.8966, allocations: 4 kB / 1.03 GB, free: 7.348 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.8969, allocations: 245 kB / 1.03 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.8969, allocations: 124.8 kB / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/0.897, allocations: 118.9 kB / 1.031 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-05/0.8971, allocations: 184.2 kB / 1.031 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.817e-05/0.8971, allocations: 180.2 kB / 1.031 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.257e-05/0.8972, allocations: 184.2 kB / 1.031 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.8975, allocations: 469.2 kB / 1.032 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.223e-05/0.8976, allocations: 108.9 kB / 1.032 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.8976, allocations: 113 kB / 1.032 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-05/0.8977, allocations: 180.2 kB / 1.032 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.116e-05/0.8977, allocations: 180.2 kB / 1.032 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.866e-05/0.8978, allocations: 176.3 kB / 1.032 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.247e-05/0.8979, allocations: 192.2 kB / 1.033 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.8981, allocations: 327.4 kB / 1.033 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.713e-05/0.8982, allocations: 201.8 kB / 1.033 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.794e-05/0.8983, allocations: 180.2 kB / 1.033 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.8984, allocations: 108.9 kB / 1.033 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.8985, allocations: 188.3 kB / 1.034 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.8985, allocations: 104.9 kB / 1.034 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002485/0.8988, allocations: 275.1 kB / 1.034 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8988, allocations: 3.938 kB / 1.034 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004188/0.8992, allocations: 87.94 kB / 1.034 GB, free: 3.273 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003784/0.8996, allocations: 317.6 kB / 1.034 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.8998, allocations: 164.2 kB / 1.034 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8998, allocations: 4.062 kB / 1.034 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.8998, allocations: 0 / 1.034 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.9001, allocations: 0.5238 MB / 1.035 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.9008, allocations: 0.5282 MB / 1.035 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.9011, allocations: 0.7784 MB / 1.036 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.38e-05/0.9011, allocations: 4 kB / 1.036 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.9011, allocations: 15.38 kB / 1.036 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.9012, allocations: 3.938 kB / 1.036 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of Templates: time 0.006741/0.9079, allocations: 3.053 MB / 1.039 GB, free: 13.84 MB / 0.795 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","../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches