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.002021/0.002021, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00281/0.00281, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.591/1.591, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.808/2.808, allocations: 437 MB / 0.7103 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 63.89 kB / 0.8692 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.805/0.8065, allocations: 151.6 MB / 1.017 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003356/0.8099, allocations: 1.396 MB / 1.019 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003006/0.8129, allocations: 1.927 MB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.813, allocations: 0 / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.8146, allocations: 396.6 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.038e-05/0.8147, allocations: 15.91 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.939e-06/0.8147, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.8151, allocations: 123.2 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.625e-05/0.8152, allocations: 25.48 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.588e-05/0.8152, allocations: 51.78 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.8154, allocations: 59.7 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.8154, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007395/0.8162, allocations: 179.9 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.159e-05/0.8162, allocations: 31.83 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.8164, allocations: 67.62 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006337/0.817, allocations: 288.9 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.817, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.843e-06/0.817, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.817, allocations: 4 kB / 1.022 GB, free: 14 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.0008579/0.8179, allocations: 494.6 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.818, allocations: 15.98 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.8182, allocations: 95.94 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.8185, allocations: 299.3 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.038e-05/0.8186, allocations: 154.9 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.8187, allocations: 158.9 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.463e-05/0.8188, allocations: 113 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.8188, allocations: 75.28 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.836e-05/0.8189, allocations: 150.6 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.011e-05/0.819, allocations: 150.6 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.174e-05/0.8191, allocations: 154.6 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.8195, allocations: 0.5017 MB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.8197, allocations: 173.1 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.8197, allocations: 80.14 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.8198, allocations: 79.28 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.8198, allocations: 117.8 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.8198, allocations: 0 / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0002212/0.82, allocations: 49.41 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.8201, allocations: 130.6 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.8205, allocations: 318.4 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.8205, allocations: 29.7 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.8206, allocations: 116.4 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-06/0.8206, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.621e-05/0.8207, allocations: 65.62 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8209, allocations: 330.8 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.821, allocations: 63.95 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.8211, allocations: 125.7 kB / 1.026 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.8214, allocations: 217.8 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.8214, allocations: 0 / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005066/0.8219, allocations: 229.2 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.822, allocations: 11.98 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.822, allocations: 0 / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.822, allocations: 4 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.914e-06/0.822, allocations: 224 / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.822, allocations: 11.94 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.8222, allocations: 27.53 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.8222, allocations: 4 kB / 1.026 GB, free: 9.258 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.0003517/0.8226, allocations: 225.7 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.8227, allocations: 116.7 kB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.818e-05/0.8228, allocations: 125.7 kB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.243e-05/0.8229, allocations: 184.3 kB / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001182/0.823, allocations: 180.2 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000122/0.8231, allocations: 176.3 kB / 1.027 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.8235, allocations: 449.2 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.464e-05/0.8236, allocations: 108.9 kB / 1.028 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.605e-05/0.8236, allocations: 112.9 kB / 1.028 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/0.8238, allocations: 188.2 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/0.8239, allocations: 180.2 kB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001055/0.824, allocations: 176.3 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.443e-05/0.8241, allocations: 184.2 kB / 1.028 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.8242, allocations: 323.5 kB / 1.029 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.8244, allocations: 197.8 kB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.8245, allocations: 180.3 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.8247, allocations: 104.9 kB / 1.029 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/0.8248, allocations: 180.2 kB / 1.029 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/0.8248, allocations: 112.9 kB / 1.029 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002348/0.8251, allocations: 213.9 kB / 1.03 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8251, allocations: 0 / 1.03 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004435/0.8255, allocations: 67.98 kB / 1.03 GB, free: 5.34 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.0004435/0.826, allocations: 274.7 kB / 1.03 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.8262, allocations: 99.89 kB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.8262, allocations: 4 kB / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.584e-06/0.8263, allocations: 0 / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.8267, allocations: 465.2 kB / 1.03 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006927/0.8274, allocations: 401.2 kB / 1.031 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.8279, allocations: 0.7392 MB / 1.032 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.64e-05/0.8279, allocations: 0 / 1.032 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.8279, allocations: 11.44 kB / 1.032 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of SimCode: time 9.22e-07/0.828, allocations: 0 / 1.032 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of Templates: time 0.006593/0.8346, allocations: 2.298 MB / 1.034 GB, free: 1.012 MB / 0.7794 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=480 -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