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.001336/0.001336, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.001445/0.001445, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.478/1.478, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.066/3.066, allocations: 0.49 GB / 0.7923 GB, free: 1.324 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.00266/0.00266, allocations: 71.91 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182/1.185, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.004467/1.19, allocations: 1.437 MB / 1.323 GB, free: 24.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005244/1.195, allocations: 2.692 MB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.811e-05/1.195, allocations: 0 / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003253/1.198, allocations: 0.577 MB / 1.327 GB, free: 21.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/1.198, allocations: 17.03 kB / 1.327 GB, free: 21.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.507e-05/1.198, allocations: 0 / 1.327 GB, free: 21.85 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004676/1.199, allocations: 162.5 kB / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/1.199, allocations: 28.05 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/1.199, allocations: 68.47 kB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/1.199, allocations: 74.39 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/1.199, allocations: 2.781 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003317/1.203, allocations: 475.8 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/1.203, allocations: 31.02 kB / 1.327 GB, free: 21.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003046/1.203, allocations: 97.16 kB / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/1.205, allocations: 444.8 kB / 1.328 GB, free: 21.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.205, allocations: 0.5938 kB / 1.328 GB, free: 21.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.134e-06/1.205, allocations: 0 / 1.328 GB, free: 21.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.622e-05/1.205, allocations: 1.094 kB / 1.328 GB, free: 21.34 MB / 1.061 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.001628/1.206, allocations: 0.5604 MB / 1.328 GB, free: 20.85 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.866e-05/1.206, allocations: 9.656 kB / 1.328 GB, free: 20.85 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002863/1.207, allocations: 103.4 kB / 1.329 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/1.207, allocations: 304.4 kB / 1.329 GB, free: 20.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/1.207, allocations: 156.4 kB / 1.329 GB, free: 20.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/1.207, allocations: 160.9 kB / 1.329 GB, free: 20.15 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.713e-05/1.207, allocations: 102.5 kB / 1.329 GB, free: 20.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/1.207, allocations: 79.41 kB / 1.329 GB, free: 19.97 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/1.207, allocations: 155 kB / 1.329 GB, free: 19.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/1.207, allocations: 151.6 kB / 1.33 GB, free: 19.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.526e-05/1.207, allocations: 158.5 kB / 1.33 GB, free: 19.51 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/1.208, allocations: 0.5377 MB / 1.33 GB, free: 18.99 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.635e-05/1.208, allocations: 170.1 kB / 1.33 GB, free: 18.81 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/1.208, allocations: 81.2 kB / 1.33 GB, free: 18.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/1.208, allocations: 75.28 kB / 1.331 GB, free: 18.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/1.208, allocations: 110.5 kB / 1.331 GB, free: 18.54 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 2.184e-06/1.208, allocations: 0.875 kB / 1.331 GB, free: 18.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0003257/1.208, allocations: 60.52 kB / 1.331 GB, free: 18.49 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/1.208, allocations: 131.2 kB / 1.331 GB, free: 18.35 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009389/1.209, allocations: 431 kB / 1.331 GB, free: 18.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/1.209, allocations: 26.8 kB / 1.331 GB, free: 18.11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/1.21, allocations: 139.5 kB / 1.331 GB, free: 17.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.566e-06/1.21, allocations: 0 / 1.331 GB, free: 17.98 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/1.21, allocations: 88.19 kB / 1.332 GB, free: 17.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.21, allocations: 341.2 kB / 1.332 GB, free: 17.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/1.21, allocations: 100.3 kB / 1.332 GB, free: 17.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/1.21, allocations: 163.8 kB / 1.332 GB, free: 17.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/1.211, allocations: 306.7 kB / 1.332 GB, free: 17.33 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.211, allocations: 1.125 kB / 1.332 GB, free: 17.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000969/1.212, allocations: 336.2 kB / 1.333 GB, free: 17.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/1.212, allocations: 6.156 kB / 1.333 GB, free: 17.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/1.212, allocations: 5.281 kB / 1.333 GB, free: 17.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/1.212, allocations: 2.938 kB / 1.333 GB, free: 17.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-06/1.212, allocations: 2.484 kB / 1.333 GB, free: 17.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/1.212, allocations: 7.078 kB / 1.333 GB, free: 17.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/1.212, allocations: 44.98 kB / 1.333 GB, free: 17.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/1.212, allocations: 4.031 kB / 1.333 GB, free: 17.14 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.0003926/1.213, allocations: 246.5 kB / 1.333 GB, free: 16.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/1.213, allocations: 124.4 kB / 1.333 GB, free: 16.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.343e-05/1.213, allocations: 120.3 kB / 1.333 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.161e-05/1.213, allocations: 194.2 kB / 1.333 GB, free: 16.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.903e-05/1.213, allocations: 178.2 kB / 1.334 GB, free: 16.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-05/1.213, allocations: 178 kB / 1.334 GB, free: 16.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/1.214, allocations: 477.4 kB / 1.334 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-05/1.214, allocations: 101.6 kB / 1.334 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/1.214, allocations: 106.7 kB / 1.334 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.233e-05/1.214, allocations: 181.9 kB / 1.335 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/1.214, allocations: 189.8 kB / 1.335 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-05/1.214, allocations: 178.5 kB / 1.335 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.954e-05/1.214, allocations: 181.7 kB / 1.335 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/1.214, allocations: 328.2 kB / 1.335 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/1.214, allocations: 207 kB / 1.336 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/1.214, allocations: 186.7 kB / 1.336 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/1.214, allocations: 103.4 kB / 1.336 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/1.214, allocations: 181.9 kB / 1.336 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/1.214, allocations: 105.5 kB / 1.336 GB, free: 13.58 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006066/1.215, allocations: 280.3 kB / 1.336 GB, free: 13.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 2e-07/1.215, allocations: 1.062 kB / 1.336 GB, free: 13.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008257/1.216, allocations: 85.81 kB / 1.337 GB, free: 13.44 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.0007812/1.217, allocations: 306.2 kB / 1.337 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004545/1.217, allocations: 121 kB / 1.337 GB, free: 13.19 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.217, allocations: 1.031 kB / 1.337 GB, free: 13.19 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.359e-06/1.217, allocations: 448 / 1.337 GB, free: 13.19 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/1.218, allocations: 468.7 kB / 1.337 GB, free: 12.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/1.219, allocations: 0.5162 MB / 1.338 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/1.219, allocations: 0.7742 MB / 1.339 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/1.219, allocations: 9.406 kB / 1.339 GB, free: 11.66 MB / 1.061 GB Notification: Performance of SimCode: time 7.72e-07/1.219, allocations: 1.188 kB / 1.339 GB, free: 11.66 MB / 1.061 GB Notification: Performance of Templates: time 0.01368/1.233, allocations: 3.156 MB / 1.342 GB, free: 11.33 MB / 1.061 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 -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: 12.092373487001169]