Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 210.1 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.582/1.582, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.574/3.574, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,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_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,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_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 67.06 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5062/0.5083, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003255/0.5115, allocations: 1.422 MB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003742/0.5153, allocations: 2.406 MB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.5153, allocations: 4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.5171, allocations: 0.5361 MB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.193e-05/0.5171, allocations: 27.84 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 6.652e-06/0.5171, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.5174, allocations: 158.9 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.343e-05/0.5175, allocations: 12.53 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.555e-05/0.5176, allocations: 67.7 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.5177, allocations: 79.52 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.5178, allocations: 4 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009169/0.5187, allocations: 407.5 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.5187, allocations: 31.84 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.5188, allocations: 91.42 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006697/0.5195, allocations: 434.1 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5195, allocations: 0 / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5195, allocations: 4 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.5195, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 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.0009794/0.5205, allocations: 488.7 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5206, allocations: 8.031 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.5207, allocations: 104 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.521, allocations: 252.5 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.855e-05/0.5211, allocations: 154.9 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.392e-05/0.5212, allocations: 150.9 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.383e-05/0.5213, allocations: 109.5 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.373e-05/0.5213, allocations: 83.47 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-05/0.5214, allocations: 154.5 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.786e-05/0.5215, allocations: 150.6 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.169e-05/0.5216, allocations: 158.6 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.522, allocations: 485.3 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.5222, allocations: 177.1 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.5222, allocations: 80.14 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.5222, allocations: 79.22 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.134e-05/0.5223, allocations: 113.9 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5223, allocations: 0 / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001946/0.5225, allocations: 65.44 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/0.5226, allocations: 126.7 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005383/0.5231, allocations: 437.3 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.5232, allocations: 25.7 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.5233, allocations: 140.5 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-06/0.5233, allocations: 0 / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.5234, allocations: 93.66 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.5236, allocations: 338.8 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.5237, allocations: 96.59 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.5239, allocations: 165.9 kB / 1.337 GB, free: 6.973 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.5243, allocations: 301.6 kB / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5243, allocations: 4 kB / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005539/0.5249, allocations: 333 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.5249, allocations: 4 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.5249, allocations: 4 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.5249, allocations: 3.938 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.807e-06/0.5249, allocations: 4 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.5249, allocations: 3.938 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.5251, allocations: 51.5 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.5251, allocations: 4 kB / 1.337 GB, free: 6.246 MB / 1.029 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.0003238/0.5254, allocations: 241.8 kB / 1.338 GB, free: 6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.5255, allocations: 124.8 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.554e-05/0.5256, allocations: 114.8 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/0.5257, allocations: 192.2 kB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-05/0.5258, allocations: 184.2 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001021/0.5259, allocations: 180.2 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.5262, allocations: 420.8 kB / 1.339 GB, free: 4.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.204e-05/0.5263, allocations: 112.9 kB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.5264, allocations: 101 kB / 1.339 GB, free: 4.512 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.762e-05/0.5265, allocations: 180.2 kB / 1.339 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.004e-05/0.5265, allocations: 180.3 kB / 1.339 GB, free: 4.145 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.033e-05/0.5266, allocations: 180.5 kB / 1.339 GB, free: 3.961 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.277e-05/0.5267, allocations: 184.1 kB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.5269, allocations: 339.6 kB / 1.34 GB, free: 3.418 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.527, allocations: 124.8 kB / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.5272, allocations: 184.2 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.5273, allocations: 112.9 kB / 1.34 GB, free: 2.984 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.5274, allocations: 180.2 kB / 1.34 GB, free: 2.801 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/0.5275, allocations: 108.9 kB / 1.341 GB, free: 2.688 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000292/0.5278, allocations: 275.1 kB / 1.341 GB, free: 2.422 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.5278, allocations: 0 / 1.341 GB, free: 2.422 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004623/0.5282, allocations: 87.92 kB / 1.341 GB, free: 2.336 MB / 1.029 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.0004272/0.5287, allocations: 309.2 kB / 1.341 GB, free: 2.027 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.5289, allocations: 119.9 kB / 1.341 GB, free: 1.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5289, allocations: 0 / 1.341 GB, free: 1.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.5289, allocations: 0 / 1.341 GB, free: 1.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.5294, allocations: 467.8 kB / 1.342 GB, free: 1.453 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007359/0.5301, allocations: 0.5106 MB / 1.342 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.5303, allocations: 164.6 kB / 1.342 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.722e-05/0.5303, allocations: 7.984 kB / 1.342 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.5303, allocations: 7.438 kB / 1.342 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.5303, allocations: 0 / 1.342 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of Templates: time 0.008175/0.5385, allocations: 3.334 MB / 1.346 GB, free: 13.41 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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: 10.46367372199893]