Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001598/0.001598, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.00201/0.00201, allocations: 219.4 kB / 23.01 MB, free: 4.605 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.309/3.309, allocations: 0.505 GB / 0.8108 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [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.002762/0.002762, allocations: 62.47 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4119, allocations: 180.2 MB / 1.354 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.004083/0.416, allocations: 1.438 MB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004234/0.4202, allocations: 1.971 MB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.4203, allocations: 0 / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.4219, allocations: 389.9 kB / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.361e-05/0.422, allocations: 23.91 kB / 1.358 GB, free: 4.133 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.989e-06/0.422, allocations: 0 / 1.358 GB, free: 4.133 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.4223, allocations: 131.1 kB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.254e-05/0.4223, allocations: 5.688 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.4224, allocations: 47.84 kB / 1.358 GB, free: 3.949 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.4226, allocations: 63.7 kB / 1.358 GB, free: 3.887 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.4226, allocations: 0 / 1.358 GB, free: 3.887 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000764/0.4234, allocations: 183.9 kB / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.4234, allocations: 35.83 kB / 1.358 GB, free: 3.672 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.4236, allocations: 67.62 kB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006051/0.4242, allocations: 290.7 kB / 1.359 GB, free: 3.32 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4242, allocations: 0 / 1.359 GB, free: 3.32 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4242, allocations: 0 / 1.359 GB, free: 3.32 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.4242, allocations: 0 / 1.359 GB, free: 3.32 MB / 1.045 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.0009032/0.4251, allocations: 433.2 kB / 1.359 GB, free: 2.867 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4251, allocations: 8.031 kB / 1.359 GB, free: 2.859 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.4253, allocations: 96.12 kB / 1.359 GB, free: 2.766 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.4256, allocations: 241 kB / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.441e-05/0.4257, allocations: 154.9 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.74e-05/0.4258, allocations: 158.9 kB / 1.36 GB, free: 2.191 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.463e-05/0.4259, allocations: 113.1 kB / 1.36 GB, free: 2.074 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.145e-05/0.4259, allocations: 75.28 kB / 1.36 GB, free: 2 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.102e-05/0.426, allocations: 150.6 kB / 1.36 GB, free: 1.852 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.425e-05/0.4261, allocations: 154.5 kB / 1.36 GB, free: 1.699 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.117e-05/0.4262, allocations: 150.6 kB / 1.36 GB, free: 1.551 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/0.4267, allocations: 492.8 kB / 1.361 GB, free: 1.027 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.4268, allocations: 165.1 kB / 1.361 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.4269, allocations: 84.14 kB / 1.361 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.4269, allocations: 75.28 kB / 1.361 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.432e-05/0.427, allocations: 113.8 kB / 1.361 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 3.817e-06/0.427, allocations: 7.984 kB / 1.361 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0002598/0.4273, allocations: 53.5 kB / 1.361 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.932e-05/0.4273, allocations: 130.7 kB / 1.361 GB, free: 376 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.4278, allocations: 313.7 kB / 1.362 GB, free: 56 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.4278, allocations: 29.7 kB / 1.362 GB, free: 20 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.428, allocations: 116.5 kB / 1.362 GB, free: 15.9 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.428, allocations: 0 / 1.362 GB, free: 15.9 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-05/0.4281, allocations: 65.67 kB / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.4282, allocations: 334.8 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.4284, allocations: 59.97 kB / 1.362 GB, free: 15.44 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.4285, allocations: 117.9 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.4289, allocations: 217.8 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4289, allocations: 0 / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006442/0.4295, allocations: 237.3 kB / 1.363 GB, free: 14.83 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.4296, allocations: 8 kB / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4296, allocations: 0 / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4296, allocations: 4 kB / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-06/0.4296, allocations: 3.938 kB / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.4296, allocations: 7.984 kB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.4298, allocations: 31.67 kB / 1.363 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.4298, allocations: 4.219 kB / 1.363 GB, free: 14.77 MB / 1.061 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.0002983/0.4301, allocations: 235.7 kB / 1.363 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.4302, allocations: 124.8 kB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.47e-05/0.4303, allocations: 113.6 kB / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-05/0.4304, allocations: 180.3 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.954e-05/0.4305, allocations: 188.2 kB / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.559e-05/0.4306, allocations: 176.3 kB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.431, allocations: 420.2 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.928e-05/0.4311, allocations: 109 kB / 1.364 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.4311, allocations: 108.9 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-05/0.4312, allocations: 184.2 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.4e-05/0.4313, allocations: 180.3 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.828e-05/0.4314, allocations: 184.2 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.079e-05/0.4315, allocations: 180.2 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.4317, allocations: 319.6 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.4318, allocations: 132.8 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.4319, allocations: 180.2 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.4321, allocations: 101 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4322, allocations: 188.2 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.4322, allocations: 101.3 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003146/0.4325, allocations: 217.2 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4325, allocations: 0 / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005761/0.4331, allocations: 67.88 kB / 1.366 GB, free: 10.96 MB / 1.061 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.000426/0.4335, allocations: 270.4 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.4338, allocations: 83.95 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4338, allocations: 0 / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.644e-06/0.4338, allocations: 0 / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.4344, allocations: 461.2 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/0.4352, allocations: 423.5 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.4356, allocations: 0.7429 MB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.4357, allocations: 7.438 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.4357, allocations: 0 / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of Templates: time 0.005798/0.4415, allocations: 2.35 MB / 1.371 GB, free: 6.574 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.632101275987225]