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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002113/0.002113, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003083/0.003083, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 443.4 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 176] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 63.91 kB / 1.059 GB, free: 428 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.422, allocations: 160.7 MB / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00294/0.4249, allocations: 1.414 MB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002638/0.4275, allocations: 1.967 MB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.4276, allocations: 3.938 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.4287, allocations: 405.7 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.4288, allocations: 19.91 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.789e-06/0.4288, allocations: 0 / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.429, allocations: 131.1 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.212e-05/0.4291, allocations: 5.5 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.197e-05/0.4292, allocations: 47.8 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.4293, allocations: 59.7 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.4293, allocations: 4 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000492/0.4298, allocations: 187.9 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.4299, allocations: 35.83 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.664e-05/0.43, allocations: 63.62 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.4305, allocations: 294.7 kB / 1.221 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.4305, allocations: 8 kB / 1.221 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4305, allocations: 0 / 1.221 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.4305, allocations: 0 / 1.221 GB, free: 10.75 MB / 0.9669 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.0008175/0.4313, allocations: 494.4 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.4314, allocations: 8.031 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.4315, allocations: 96.12 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.4318, allocations: 291.3 kB / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.197e-05/0.4319, allocations: 158.9 kB / 1.222 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.997e-05/0.432, allocations: 158.9 kB / 1.222 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.844e-05/0.4321, allocations: 105.1 kB / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/0.4321, allocations: 75.28 kB / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/0.4322, allocations: 150.6 kB / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.847e-05/0.4323, allocations: 158.6 kB / 1.222 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.172e-05/0.4323, allocations: 150.6 kB / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.4327, allocations: 0.5056 MB / 1.223 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.276e-05/0.4328, allocations: 165.1 kB / 1.223 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.732e-05/0.4329, allocations: 84.14 kB / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.4329, allocations: 75.28 kB / 1.223 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.677e-05/0.433, allocations: 113.8 kB / 1.223 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.433, allocations: 3.938 kB / 1.223 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001914/0.4332, allocations: 57.48 kB / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.4332, allocations: 126.7 kB / 1.223 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/0.4336, allocations: 322.3 kB / 1.224 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.4336, allocations: 37.7 kB / 1.224 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.737e-05/0.4337, allocations: 108.5 kB / 1.224 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.4337, allocations: 0 / 1.224 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.078e-05/0.4338, allocations: 61.69 kB / 1.224 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.434, allocations: 334.8 kB / 1.224 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-05/0.434, allocations: 67.89 kB / 1.224 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.4342, allocations: 118 kB / 1.224 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.4344, allocations: 209.8 kB / 1.225 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4345, allocations: 0 / 1.225 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004398/0.4349, allocations: 237.3 kB / 1.225 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.4349, allocations: 10.02 kB / 1.225 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4349, allocations: 4.297 kB / 1.225 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.4349, allocations: 4 kB / 1.225 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-06/0.4349, allocations: 7.938 kB / 1.225 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.435, allocations: 3.984 kB / 1.225 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.4351, allocations: 27.73 kB / 1.225 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.4351, allocations: 4 kB / 1.225 GB, free: 6.02 MB / 0.9669 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.0002592/0.4353, allocations: 221.1 kB / 1.225 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.4354, allocations: 128.8 kB / 1.225 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.429e-05/0.4355, allocations: 125.6 kB / 1.225 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.539e-05/0.4356, allocations: 176.3 kB / 1.226 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.871e-05/0.4357, allocations: 180.2 kB / 1.226 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-05/0.4358, allocations: 184.3 kB / 1.226 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.4361, allocations: 453.1 kB / 1.226 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-05/0.4361, allocations: 105 kB / 1.226 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.4362, allocations: 108.9 kB / 1.227 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.231e-05/0.4363, allocations: 180.2 kB / 1.227 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.073e-05/0.4364, allocations: 184.2 kB / 1.227 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.975e-05/0.4364, allocations: 184.2 kB / 1.227 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.331e-05/0.4365, allocations: 176.3 kB / 1.227 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.4367, allocations: 323.9 kB / 1.228 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.4368, allocations: 205.9 kB / 1.228 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.437, allocations: 184.2 kB / 1.228 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.4371, allocations: 105 kB / 1.228 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.4372, allocations: 192.2 kB / 1.228 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.4372, allocations: 105 kB / 1.228 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000223/0.4374, allocations: 213.9 kB / 1.229 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.4374, allocations: 0 / 1.229 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003833/0.4378, allocations: 67.86 kB / 1.229 GB, free: 2.078 MB / 0.9669 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.0003892/0.4382, allocations: 278.3 kB / 1.229 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.4384, allocations: 79.89 kB / 1.229 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4384, allocations: 0 / 1.229 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.4384, allocations: 0 / 1.229 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.4389, allocations: 472.6 kB / 1.229 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.4395, allocations: 404.8 kB / 1.23 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.4399, allocations: 0.7392 MB / 1.23 GB, free: 68 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.21e-05/0.4399, allocations: 4.25 kB / 1.23 GB, free: 64 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.4399, allocations: 11.44 kB / 1.23 GB, free: 56 kB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.4399, allocations: 0 / 1.23 GB, free: 56 kB / 0.9669 GB Notification: Performance of Templates: time 0.006543/0.4465, allocations: 2.305 MB / 1.233 GB, free: 13.75 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.941441711969674]